I have an answer to a Module 5 Mastery Check (Herb Schildt's C++: A Beginner's Guide) that the executable uses a command-line argument.
I am using Visual C++ 2008 Express Edition. Does anybody know how I would find my project subdirectory from the dos-style command prompt so I can test my understanding of using int main(int argc, char *argv[])? I think I find the directory, but I cannot find my project folders (or, my .cpp's or .exe's).
VC++ 2008 projects should be in a directory like this: "Documents\Visual Studio 2008\Projects"
The source files should be in "Documents\Visual Studio 2008\Projects\SolutionName\ProjectName"
The binary files should be in "Documents\Visual Studio 2008\Projects\SolutionName\Debug" or "Documents\Visual Studio 2008\Projects\SolutionName\Release"