Re: C and objective C together
Re: C and objective C together
- Subject: Re: C and objective C together
- From: "Erik M. Buck" <email@hidden>
- Date: Tue, 2 Apr 2002 13:33:54 -0600
See the NSString class: -stringWithFormat:...
Append the strings together and display them in a NSTextView
with -setString:
----- Original Message -----
From: "Jason Reece" <email@hidden>
To: <email@hidden>
Sent: Tuesday, April 02, 2002 1:15 PM
Subject: C and objective C together
>
Hi there,
>
>
I have problem that maybe you good people could help me with.
>
>
I have a C program that I'm porting to Cocoa. As, the bulk of the
>
program is just number crunching I'm leaving it as C. However, the
>
program produces text messages while it is running via printf's. How do
>
I 'catch' these and display them on a window? I need to do them while
>
the thing is running ideally. I can easily replace the printf's with
>
some other function, but how do I get the data into the objective-C
>
windowing bits? Thanks
>
>
J. Reece
>
Technical & Marketing Director
>
The Ideas Studio
>
email@hidden
>
www.ideasstudio.com
>
_______________________________________________
>
cocoa-dev mailing list | email@hidden
>
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.