gcc

Joe Dumais jjejdumais at comcast.net
Fri Mar 26 03:23:40 UTC 2004


I have to make some assumptions here.

1. You said you used gcc.  To use the c++ compiler you have to call g++.

2. If you used g++, in order to use c++ include files (e.g., 
<iostream>), you
have to have to put the following line in the code to allow use of the 
include
files without the .h extension:
using namespace std;

Behemoth8u wrote:

> Hi everyone,
>   I installed Fedora on my computer a few days ago.  I figured I would 
> try out the c++ compiler, so I made a simple program and ran gcc on 
> it.  However, I get errors about things in the standard library files 
> (<iostream>).  Anyone have any suggestions? This is a fresh install.
> Thanks for any help!
>
>






More information about the fedora-list mailing list