Thread: Visual C++
View Single Post
Old Apr 4th, 2006, 5:44 PM   #6
nnxion
Programming Guru
 
nnxion's Avatar
 
Join Date: Jun 2005
Location: elemental plane
Posts: 1,429
Rep Power: 5 nnxion is on a distinguished road
Quote:
Originally Posted by Ooble
Stop with the bitching. Google will return a huge number of sites - how do you know which one is the best?
My goodness, why do you assume I meant google? I meant the forums, this question has got to be posted at least ten times.
@OP: Anyway, if you use VC++ 2005, then you need to create a project, a win32 console project, make it an empty project.
Then create a .cpp source file. Add it on your solution explorer under "source files". Open the .cpp file and type:

include <iostream>

using namespace std;

int main()
{
	cout << "Hello world!" << endl;
	return 0;
}

Well that's it, save it. And go to the build menu and select build project.
Then go to the debug menu and select "run without debugging".
Voila done, you can also specify release or debug under "configuration" in your build menu.

A build does a compile and a link. You should read up on how that works, it will be an invaluable lesson.
__________________
"Employ your time in improving yourself by other men's writings, so that you shall gain easily what others have labored hard for."
-- Socrates
nnxion is offline   Reply With Quote