• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: C and objective C together
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >C and objective C together (From: Jason Reece <email@hidden>)

  • Prev by Date: Memory leak in NSOutlineView?
  • Next by Date: Database code available
  • Previous by thread: Re: C and objective C together
  • Next by thread: Re: C and objective C together
  • Index(es):
    • Date
    • Thread