Any tutorial about this?
#3

I'm not sure if I correctly understood your question, but here is goes:

Код:
Example: 
For the file helloworld.cpp in the folder C:\docs\hello enter the command

         cd c:\docs\hello

Now type the compile command

         g++ helloworld.cpp -o helloworld.exe

The -o switch defines the name of the output file, without it the output file would be a.exe.
Remember to change the extension.

Source: http://www.mingw.org/wiki/MinGWforFirstTimeUsers
Reply


Messages In This Thread
Any tutorial about this? - by ShOoBy - 25.03.2012, 18:46
Re: Any tutorial about this? - by T0pAz - 26.03.2012, 10:17
Re: Any tutorial about this? - by russo666 - 28.03.2012, 03:11
Re: Any tutorial about this? - by ShOoBy - 01.04.2012, 16:02
Re: Any tutorial about this? - by bashar0151 - 14.04.2012, 16:50
Re: Any tutorial about this? - by KarlMann - 30.06.2012, 01:02

Forum Jump:


Users browsing this thread: 1 Guest(s)