I opened hello.cpp. Why isn't there File -> Compile -> hello.cpp? What is an other easy way, if any?
A:
The best way its to create an empty project add your hello.cpp
then Visual Studio will build your program.
Daniel A. White
2009-07-18 22:10:06
+2
A:
The file must be part of a project before you can compile/build it. Starting with VS 2005 (or maybe 2008), you can use File -> New -> Project From Existing Code to wrap a project around source files.
Tim Sylvester
2009-07-18 22:10:21
It's kinda a pain in the ass if you're used to being able to just type gcc Hello.cpp. But overall it gives you a nice view graph of your application files, and classes.
NoMoreZealots
2009-07-18 22:14:29
IT WORKS! IT WORKS! IT WORKS! THANK YOU SO MUCH!!!
Delirium tremens
2009-07-18 22:24:11