Click to See Complete Forum and Search --> : Hello World


SunnyPriya
January 7th, 2005, 07:24 PM
Hi
I need to learn VC++.Net.
I have knowledge of VC++ (6.0).
Can any one give me links where I can find initial chapters of VC++.Net.
I am ready to begin with "HelloWorld", program.
Please help me.
Thanks and regards
SunnyPriya

Jinto
January 8th, 2005, 05:06 AM
Here are 75 samples of managed code.
http://www.microsoft.com/downloads/details.aspx?familyid=6e6fac4b-5b51-41fe-9604-1d9752e8a71a&displaylang=en

When you create a new managed console application. It is already set up with a hello world style begining.

cellman
January 18th, 2005, 08:21 PM
Dear miss priya

concerning hello world i dont know if anyone has replied helpfuly but i will try this should work.

1. start visual c++.net
2. start a new project
3 select win 32 in the templates which are located on the right side of the dialog box
4. type a name for your program and press ok
5 in the next box that appears select aplication settings
6. under application type select console application
7 select empty project
8. click finish

this should create your project on the right you should see the solution explorer

9. At the top menu of the program press the project button and then scroll down to add new item

on the right you should see templates inside them choose cpp file

10. click on cpp file

11. type the name of the project and add .cpp to the end of it this is so visual c++ will know it is a c++ file

click ok

12. in the blank window type or paste the following source code

#include <iostream>

using namespace std;

int main()

{
cout << "hello world"<< endl;
cin.ignore();
return 0;
)


if this code does not work email me immediatly and please email me anyway to let me know if this was helpful

my email is good_humer@hotmail.com

neurotik
January 20th, 2005, 05:38 PM
just make sure if you're gonna copy&paste it you change that last bracket to a curly one. ;)

cheers,
neurotik