+ 2
Can we use c++ in CMD of Windows?
2 Antworten
+ 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😊
+ 2
Cd to the directory where your code is stored.
g++ code.cpp header.h source.cpp nameForProgram.exe
That should compile it