swarm-support
[Top][All Lists]
Advanced

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

Re: cout<< or .toString() in Objective-c?


From: Ralf Stephan
Subject: Re: cout<< or .toString() in Objective-c?
Date: Mon, 29 May 2000 16:46:28 +0200

Laszlo Gulyas:
> I wonder wether there is a tool like cout<< (in C++) or like .toString() (in 
> Java)?
> 
> What I would like to do is to generate code that outputs to a file all 
> information 
> an arbitrary object (in a Swarm simulation) provides of itself. Any ideas to 
> achieve
> this would be appreciated.

        FILE *fp;
        id myStream = [OutputStream create: [self getZone] setFileStream: fp];
        [myStream catC: someCharPointer];


ralf
-- 
http://ME.IN-berlin.de/~rws/

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

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