Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Jun 2003
    Location
    California
    Posts
    231
    Thanks
    0
    Thanked 0 Times in 0 Posts

    compiling c/cpp code on linux

    I installed linux the other day and was writting a cpp program, but was not able to find a compiler. What is the name of the cpp compiler on red hat?

  • #2
    Regular Coder
    Join Date
    Feb 2004
    Location
    WA
    Posts
    213
    Thanks
    0
    Thanked 0 Times in 0 Posts
    gcc should do fine. or try g++

    /usr/home/root> gcc foo.cpp
    /usr/home/root> ./a.out
    Nobody is Perfect. I am Nobody.

  • #3
    New Coder
    Join Date
    Aug 2003
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Even better try Kdevelop, it's an integrated IDE with syntax colouring and much more.

    (It will only run on KDE though)

    WF.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •