1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2012
    Rep Power

    Question Programming in linux-help needed!

    Can anyone pls help me out:-
    HOW TO COMPILE A C++ code in terminal[linux ubuntu 12/10]?
    pls explain in brief...
  2. #2
  3. Contributed User
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    Jun 2005
    Rep Power
    First you type this to compile your program
    g++ prog.cpp

    Then you type this to run it
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper

IMN logo majestic logo threadwatch logo seochat tools logo