Compiler

This is a discussion on Compiler within the C++ Programming forums, part of the General Programming Boards category; Hello I have recently installed Mandrake Linux on my computer and it comes with a gcc Compiler. I know how ...

  1. #1
    Microsoft. Who? MethodMan's Avatar
    Join Date
    Mar 2002
    Posts
    1,198

    Compiler

    Hello

    I have recently installed Mandrake Linux on my computer and it comes with a gcc Compiler. I know how to compile C programs, it is it the same way with C++. I am new to C++.

    THanks

  2. #2
    Registered User
    Join Date
    Jan 2002
    Posts
    387
    is gcc MinGW?

    if it is then the syntax for C++ programs is:

    Code:
    g++ file.cpp -o file.exe -llibname
    well, that is the very basic way of doing it
    "There are three kinds of people in the world...
    Those that can count and those that can't."

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Compiler Paths...
    By Cobra in forum C++ Programming
    Replies: 5
    Last Post: 09-26-2006, 05:04 AM
  2. C Compiler and stuff
    By pal1ndr0me in forum C Programming
    Replies: 10
    Last Post: 07-21-2006, 12:07 PM
  3. I can't get this new compiler to work.
    By Loduwijk in forum C++ Programming
    Replies: 7
    Last Post: 03-29-2006, 06:42 AM
  4. how to call a compiler?
    By castlelight in forum C Programming
    Replies: 3
    Last Post: 11-22-2005, 11:28 AM
  5. Bad code or bad compiler?
    By musayume in forum C Programming
    Replies: 3
    Last Post: 10-22-2001, 10:08 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21