Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Fedge

macrumors regular
Original poster
Aug 9, 2006
152
0
I've got a c++ backend that uses cout to display lots of messages on screen. I'd like to send/pipe all of these messages to an NSTextView in the same obj-c++ app. I'm reasonably new to Cocoa, so I've been having some trouble.

What's the easiest way to pipe stdout into my NSTextView?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.