Visual C++ Compile Question

In Visual C++ does your source file have to be in a project to compile/debug it? I would prefer that you could compile/debug the programs without needing to go through the steps to make a project but I didn't know if this was possible.
AFAIK, you have to have a project...although there might be some command line thing you can do with it so you don't have to make a project though.
closed account (z05DSL3A)
You can compile your code from the command line if you prefer. The compiler is called cl.exe, or you can use nmake.

http://msdn.microsoft.com/en-us/library/dd9y37ha(VS.71).aspx

You need to use the "Visual Studio Command Prompt" to compile from the command line. I suppose it sets some environment variables for the compiler.
Topic archived. No new replies allowed.