![]() |
|
#1
|
|||
|
|||
How to compile .cpp filei have .cpp file which has hello world example in it.
i don't know how to compile it from command line any help please thanks. |
|
#2
|
|||
|
|||
Re: how to compile .cpp fileQuote:
What operating system? What compiler? With GNU compilers on Linux or on Windows XP platforms (assuming path has been set as it would be for "normal" installations: g++ -Wall -W -pedantic test.cpp -o test For recent Borland compilers on various Windows, assuming path has been set correctly and configurations files created as in the startup instructions: bcc32 test.cpp For various Microsoft compilers, assuming path and other variables have been set (Maybe by vcvrs32.bat or some such thing): cl test.cpp /EHsc Other compilers: Look at the documentation from the vendor. Regards, Dave |
Recent GIDBlog
Toyota - 2008 July Promotion by Nihal
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CD Burner Help - Power Calibration Error.... | JonBoy420 | Computer Hardware Forum | 111 | 17-Apr-2008 15:58 |
| Airport Log program using 3D linked List : problem reading from file | batrsau | C Programming Language | 11 | 29-Feb-2008 07:44 |
| Download files in c for windows operating system | oozsakarya | C Programming Language | 5 | 20-Jun-2006 03:33 |
| CD burner wont burn!! | robertli55 | Computer Hardware Forum | 1 | 18-Jun-2004 10:53 |
| Yet another CD burner problem: Lite-On LSC-24082K | Erwin | Computer Hardware Forum | 1 | 22-May-2004 11:28 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The