• 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
Dumb Q about console I/O under ObjC
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Dumb Q about console I/O under ObjC


  • Subject: Dumb Q about console I/O under ObjC
  • From: William Squires <email@hidden>
  • Date: Sun, 27 May 2012 12:26:53 -0500

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?



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Dumb Q about console I/O under ObjC
      • From: Thomas Davie <email@hidden>
  • Prev by Date: Populating NSPopupButton from Core Data array controllers in view-based NSTableViews
  • Next by Date: Re: Dumb Q about console I/O under ObjC
  • Previous by thread: Populating NSPopupButton from Core Data array controllers in view-based NSTableViews
  • Next by thread: Re: Dumb Q about console I/O under ObjC
  • Index(es):
    • Date
    • Thread