saving . . . saved compilation has been deleted. compilation has been hidden .
compilation
Title
Question
Sir, how to compile using Windows OS in mingw gcc compiler when my program is typed in notepad++ application.


C-and-Cpp First-C-Program 06-07 min 0-10 sec 15-06-20, 8:39 a.m. abhinav000

Answers:

If you have installed properly, ideally the same commands should work, try with this g++ program-name.cpp on the command line. I cannot guarantee you as we do not use windows machines. In case of any errors please contact the mingw community.
19-06-20, 11:37 a.m. nags


In windows to compile C++ program
-----------------------------------------------
C:\cygwin64\bin>g++ -o function_cpp function.cpp

here function_cpp is the exe file name

In windows to run exe file of C++ program
---------------------------------------------------------

C:\cygwin64\bin>function_cpp


04-12-21, 8:27 p.m. Rsenthil_1976


Log-in to answer to this question.