Dumb Q about console I/O under ObjC

  • I'm trying to develop my "retro" CRPG game engine as a console app, but how do I test the input part? I can output to stdio with either printf() or NSLog, but the debug console only supports output, not input. What's the normal way to redirect this to terminal.app so that scanf() will work?
  • On 27 May 2012, at 18:26, William Squires wrote:

    > I'm trying to develop my "retro" CRPG game engine as a console app, but how do I test the input part? I can output to stdio with either printf() or NSLog, but the debug console only supports output, not input. What's the normal way to redirect this to terminal.app so that scanf() will work?
    Since when does the debugger console only support output?

    Bob
previous month may 2012 next month
MTWTFSS
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      
Go to today