C (63/304)

From:Francis G. Loch
Date:09 Aug 2000 at 08:49:04
Subject:Re: Why doesn't this code work?

Hi Donald,

--- Donald W Millican
<DonaldWM@stonelawdrive.freeserve.co.uk> wrote:
> You may well be right that it is C++ rather than C
> (I've never been
> entirely sure what the difference is between C and
> C++ apart from
> C++'s classes).

C and C++ have a different syntax for some things.
They also use different header files (e.g. C uses
stdio.h and C++ uses iostream.h).

If you're interested I can take along a couple of
C/C++ books to highlight the differences to our next
meeting.

>
> If is indeed C++ then how did I compile it in a PC
> compiler which was
> not capable of compiling C++, but only C? Most of my
> routines were
> simply copied and pasted from my PC program.

I'd make sure that you are not using any commands
specific to whatever compiler it was that you used on
the PC.

>
> The confusion continues...

Indeed! ;)

Kind regards,

Francis.

=====
e-mail:-fgloch@yahoo.com
web-site:- http://www.geocities.com/fgloch
Member of GAUG
Glasgow Amiga Users Group
*-Join our mailing list-*
gaug-subscribe@egroups.com

__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/