Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Dec 1996 16:30:35 +0200 (EET)
From:      Narvi <narvi@haldjas.folklore.ee>
To:        Francisco Reyes <francisco@natserv.com>
Cc:        FreeBSd Chat list <chat@FreeBSD.ORG>
Subject:   Re: Comments on using C++ instead of C
Message-ID:  <Pine.BSF.3.95.961229162711.6059D-100000@haldjas.folklore.ee>
In-Reply-To: <199612290152.UAA28924@revelstone.jvm.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On Sat, 28 Dec 1996, Francisco Reyes wrote:

> I have never programmed for Unix before and am about to start a small
> project. I was wondering if there are any advantages of using C over
> C++.
> 
> Does the compiler that comes with FreeBSD do C++? I tried compiling a
> trivial C++ program using gcc and it failed. Must one send a parameter
> to gcc to tell it the code is C++?

Well... What was the extension of the source file? If it was .c and it
really is c++ then change it to .cc or .C

	Sander

> 
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.961229162711.6059D-100000>