Part of the Khronos Group

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Can gcc compile C++ programs?

  1. #1
    Intern Newbie
    Join Date
    Apr 2001

    Can gcc compile C++ programs?

    Can I write c++ on linux? and compile it with gcc?
    if so how?
    I tried
    gcc -o myprog myprog.cpp

    but it doesn't seem to like .cpp

  2. #2
    Member Regular Contributor
    Join Date
    Sep 2000
    Vancouver BC Canada

    Re: Can gcc compile C++ programs?

    Use g++

Posting Permissions

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