How compile and run C++ in Windows?

Thanh Hoan

New member
How compile and run C++ in Windows?
Answer
Create a Visual C++ source file and compile it on the command line
  • In the developer command prompt window, enter md c:\hello to create a directory, and then enter cd c:\hello to change to that directory.
  • Enter notepad hello.cpp in the command prompt window.
  • In Notepad, enter the following lines of code:
  • Save your work!
 

Tìm kiếm

Back
Top