Compiling C++? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Compiling C++?

How can I compile a .cpp notepad file? I need to use command prompt through my windows 10 OS. The command prompt will not recognize g++ from my gedit or gcc from my Mingw.

1st Jan 2017, 11:38 PM
Adrian Darian
Adrian Darian - avatar
1 Answer
0
You may use a visual studio, there is free version out there. Just create new project, and at the source file, create new file. Then copy your code from notepad to the source's file. Then debugged it.
2nd Jan 2017, 12:40 AM
shaufyq sone
shaufyq sone - avatar