Click Start, select All Programs, Microsoft Visual Studio, Visual Studio Tools, and Visual Studio Command Prompt.
To open the Windows SDK command prompt window (Windows SDK version 6.1 or later): Click the "Start" button, select "All Programs", "Microsoft Windows SDK", then "Command Prompt SDK" or "CMD Shell".
And read How to compile a C ++ source program from the command line in Visual Studio
source share