Search:
Forum
Lounge
Visual C++ Compile Question
Visual C++ Compile Question
May 9, 2009 at 9:24pm UTC
haku776
(7)
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.
May 10, 2009 at 5:39am UTC
firedraco
(6246)
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.
May 10, 2009 at 10:08am UTC
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
May 10, 2009 at 8:47pm UTC
helios
(17607)
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.
C++
Information
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs