tags:

views:

27

answers:

1

Hi,

What view would be the best view for displaying text from the console? In particular output of a C program? For example if I used system("gcc foo.c"); in my program and then wanted to display the output of that what view would a I use and how would I display it? Also, how would I get input too?

A: 

You may want to have a look at the NSTask class. It allows you to call external programs, and then read and write to them using NSPipes.

cobbal
Will do! Exactly what I need! Thnx.
thyrgle