The project file has all the compiler and linker options.
If you try it, you'll see there's no build options available for the
stand-alone file.
You would need to compile from the command line.
Mark
--
Mark Salsbery
Microsoft MVP - Visual C++
http://msdn.microsoft.com/en-us/library/ms235431.aspx
http://msdn.microsoft.com/en-us/library/bb384838.aspx
Armin
NOT TRUE! You do not need to compile from the command line. You can add the
source file to the project and it will compile just fine.
To do this, right click on the project, and select "Add existing" ... follow
the prompts.
I think you missed the point, which was how to compile a file without having
a project...
You can select "Empty Project. " from the template
--
Thanks
Allen
"Ben Voigt [C++ MVP]" <r...@nospam.nospam> wrote in message
news:19E6C8E6-2970-44AF...@microsoft.com...