Find the answer to your Linux question:
Results 1 to 10 of 10
hi every one , i need some help about where i write the C++ programs in Mandriva 2007 ?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    amr
    amr is offline
    Just Joined! amr's Avatar
    Join Date
    Sep 2006
    Location
    Egypt
    Posts
    32

    Question where C++ ?


    hi every one ,
    i need some help about where i write the C++ programs in Mandriva 2007 ?

  2. #2
    Banned jan1024188's Avatar
    Join Date
    Jul 2006
    Location
    EU, SLOVENIA
    Posts
    1,549
    There are many good IDE`s for C/C++.
    - Anjuta
    - Kdevelop
    - Eclipse
    You will have to install gcc compiler first. Use package manager or google to download it.

  3. #3
    Linux Guru Juan Pablo's Avatar
    Join Date
    Mar 2006
    Location
    /home/south_america/ecuador/quito
    Posts
    2,064
    Sometimes a simple text editor is better for a noob, then compile it from the command line
    Put your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
    Linux User #425940

    Don't PM me with questions, instead post in the forums

  4. #4
    Banned jan1024188's Avatar
    Join Date
    Jul 2006
    Location
    EU, SLOVENIA
    Posts
    1,549
    Quote Originally Posted by Juan Pablo
    Sometimes a simple text editor is better for a noob, then compile it from the command line
    I never use text editor for this because of following reasons:
    - IDE marks and colors peaces of program

    ex.
    Code:
    int main()
    {
    //this is comment and it is in green
    cout << "the string is colored red" <<endl;
    return(0);
    }
    - I use IDE because it has debugger builtin
    - IDE compiles and runs program if you press one button for example "F9"
    If you have to compile program manualy you have to write command manualy.

    - etc.

    jan

  5. #5
    Linux Engineer Thrillhouse's Avatar
    Join Date
    Jun 2006
    Location
    Arlington, VA, USA
    Posts
    1,377
    Quote Originally Posted by jan1024188
    - IDE marks and colors peaces of program
    Many text editors will do this now as well. For example, gedit will do syntax highlighting with many languages. It will color code reserved words based on the file extension (.cpp, .java, etc.). It actually recognizes more languages than some of the IDE's I've used, like FORTRAN and Pascal. But, IDE's have some additional features that make them more useful. I would say if amr already knows the process of compiling, linking, loading....then he should use an IDE but if he doesn't, Juan Pablo's advice is wise. It's good to have an understanding of what the IDE is actually doing than to just sit there and make use of it.

  6. #6
    Linux Guru Juan Pablo's Avatar
    Join Date
    Mar 2006
    Location
    /home/south_america/ecuador/quito
    Posts
    2,064
    marks and colors peaces of program
    It is called syntax highlighting, have you used vim or kate?
    Put your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
    Linux User #425940

    Don't PM me with questions, instead post in the forums

  7. #7
    amr
    amr is offline
    Just Joined! amr's Avatar
    Join Date
    Sep 2006
    Location
    Egypt
    Posts
    32
    Quote Originally Posted by jan1024188
    There are many good IDE`s for C/C++.
    - Anjuta
    - Kdevelop
    - Eclipse
    You will have to install gcc compiler first. Use package manager or google to download it.
    ok i think that gcc are installed but where i find

    - Anjuta
    or
    - Kdevelop
    or
    - Eclipse

    is it allready installed in mandriva 2007 ? or i need to get and install it ?

  8. #8
    Linux Guru Juan Pablo's Avatar
    Join Date
    Mar 2006
    Location
    /home/south_america/ecuador/quito
    Posts
    2,064
    You can install them with urpmi
    Put your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
    Linux User #425940

    Don't PM me with questions, instead post in the forums

  9. #9
    amr
    amr is offline
    Just Joined! amr's Avatar
    Join Date
    Sep 2006
    Location
    Egypt
    Posts
    32
    Quote Originally Posted by Juan Pablo
    You can install them with urpmi
    ok i am downloading Eclipse now .

    .tar.gz

    can i install it easy ?

  10. #10
    Banned jan1024188's Avatar
    Join Date
    Jul 2006
    Location
    EU, SLOVENIA
    Posts
    1,549
    yes...
    ./configure
    make
    make install
    Im not sure but I think that you dont have to install eclipse to run it...

Posting Permissions

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