0
basic ouline in compiling and running a C++ Program
compiling and running C++ Program
2 Answers
+ 2
If u have downloaded any ide then install mingw compiler then set environment variable path and on ide u will run options u can use vs code codeblock .... Devcpp or notepad++ .
If u want to compile via command line then after set path of mingw
Write any program open cmd then type this
g++ -o file file.cpp your program will be compile for executing
file.exe
0
how can i compile and run a C++ Program