Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, I just start learning c++ at school. I'm running Slackware 10.1 with WindowMaker. will someone be so kind to tell me how can I write and compile c++ programs?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2005
    Posts
    2

    C++


    Hi, I just start learning c++ at school. I'm running Slackware 10.1 with WindowMaker. will someone be so kind to tell me how can I write and compile c++ programs?

  2. #2
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    Write the c++ in a texteditor, like vim, emacs, nano for the command line, or kate or tea in the GUI. Compile the code with:
    Code:
    g++ file.cpp -o file
    in the terminal.
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

  3. #3
    Just Joined!
    Join Date
    Sep 2005
    Posts
    2
    Thank you very much!

Posting Permissions

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