+ Reply to Thread
Results 1 to 6 of 6

Thread: c++ in redhat

  1. #1
    Banned rajunpl is infamous around these parts rajunpl is infamous around these parts rajunpl is infamous around these parts
    Join Date
    Feb 2004
    Posts
    164

    c++ in redhat

    Can anyone say me if there is C++ already packed with redhat 9 and how can I find it? I haveall 3 cd's of redhat I dunno how to install from CD if needed.

    Thanks in advance.

  2. #2
    Senior Member prodikal has a reputation beyond repute prodikal has a reputation beyond repute prodikal has a reputation beyond repute prodikal has a reputation beyond repute prodikal has a reputation beyond repute prodikal has a reputation beyond repute prodikal has a reputation beyond repute prodikal has a reputation beyond repute prodikal has a reputation beyond repute prodikal has a reputation beyond repute prodikal has a reputation beyond repute
    Join Date
    Apr 2002
    Posts
    1,049
    man g++ usually g++ filename -o filename.c
    By the sacred **** of the sacred psychedelic tibetan yeti ....We\'ll smoke the chinese out
    The 20th century pharoes have the slaves demanding work
    http://muaythaiscotland.com/

  3. #3
    Banned rajunpl is infamous around these parts rajunpl is infamous around these parts rajunpl is infamous around these parts
    Join Date
    Feb 2004
    Posts
    164
    Manual is quite long. I have a book and i just want to know how to open compiler window and the rest I will go with the e book

    Thanks for quick reply

  4. #4
    Custom User gothic_type is a splendid one to behold gothic_type is a splendid one to behold gothic_type is a splendid one to behold gothic_type is a splendid one to behold gothic_type is a splendid one to behold gothic_type is a splendid one to behold gothic_type is a splendid one to behold gothic_type is a splendid one to behold
    Join Date
    Oct 2001
    Posts
    503
    He just told you the command to compile a file. I think from your response that you are thinking of an IDE (Integrated Development Environment) where you have an editor, and can compile files by pressing on a button. g++ is not like that. It is just the compiler, so you'd have to create your files in another text editor (like vi, pico, gnotepad, etc.) and then (in an xterminal or at the console) type "g++ [source file] -o [executable name]"

    Here's an example using a made up file called myfile:

    Code:
    [ac@ezranet]$ vi myfile.c
    ...write your source file in vi...
    [ac@ezranet]$ g++ myfile.c -o myfile
    
    (If there are no compile errors then:)
    
    [ac@ezranet]$ ls -a
    . .. myfile.c myfile
    [ac@ezranet]$ ./myfile
    (program runs)
    Hope that wasn't too confusing.

    ac

  5. #5
    Junior Member digeraticular is on a distinguished road
    Join Date
    Sep 2004
    Posts
    13
    If you are talking about an IDE (Like Bloodshed DevC++) or something similar, try out KDevelop. Great software.

  6. #6
    Banned whizkid2300 whizkid2300 whizkid2300 whizkid2300 whizkid2300 whizkid2300 whizkid2300 whizkid2300 whizkid2300 whizkid2300 whizkid2300
    Join Date
    Jun 2003
    Posts
    1,302
    You know what i am getting sick and ****ing tired of you asking questions without, researching what so ever. You are right man is long. It is there to help people LEARN, how to do things.

    What are you going to want next someone to read your C++ book for you?

    Dude read up on your stuff before you ask your questions. We are not here to baby sit you!!!

Bookmarks

Posting Permissions

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

 Security News

     Patches

       Security Trends

         How-To

           Buying Guides