swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C++


From: Ludo Pagie
Subject: Re: C++
Date: Fri, 28 Feb 1997 11:37:12 +0100

On Feb 28,  4:53am, Me wrote:
> Subject: C++
>
> Is there a specific reason that swarm does not support C++?
Read swarm docs about that (e.g.: "/swarmdocs-1.0.1/src/defobj/guide.html")


I'm not sure
> what the specs are for gcc but it appears that it can't find the library
> "iostream.h"
I'm not sure what you mean: iostream.h is an include file which defines input-
and output-stream classes, specifically for C++. The corresponding library is
the standard gnu C++ library: libg++. iostream.h should be in the default
include directories (for the C++ compiler), probably something like:
"/usr/include/g++/iostream.h"
The library should be in "/usr/lib".

HOWEVER; you don't use these lib's, files, streams in Objective C (undefined),
probably you can link C++ code (in which you CAN use it) to Objective C code
(somebody ?).
In Objective C you normally use the standard c functions "printf" etc.
Swarm has defined some input-output stuff but I'm not familiar with that yet.

(I'm kind of new to gcc by the way) so I can at least use
> cout & cin.  Anyone know how I can fix this problem?
>
> Kyle
>-- End of excerpt from Me

Hope this helps.
Ludo.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]