+ 2

Can we use c++ in CMD of Windows?

14th Jun 2019, 6:51 PM
Waleed Chaudhary
Waleed Chaudhary - avatar
2 Respostas
+ 9
I have not tried that before but I think you can. If you just type in the language installed in your system, in CMD interface it might work. Edit: Just tried it, it works😊
14th Jun 2019, 7:51 PM
Jella
Jella - avatar
+ 2
Cd to the directory where your code is stored. g++ code.cpp header.h source.cpp nameForProgram.exe That should compile it
14th Jun 2019, 9:28 PM
Jackson O’Donnell