• 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: Redisplaying the Window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Redisplaying the Window


  • Subject: Re: Redisplaying the Window
  • From: Brad Oliver <email@hidden>
  • Date: Sat, 16 Dec 2006 14:02:11 -0700

On Dec 16, 2006, at 1:05 PM, email@hidden wrote:

This code keeps giving me "exit code 123" when I press 'a'. Any
thoughts? Caps lock is not on... Thank you both for helping!

First, you're not breaking out of the case statement. Second, you can use the debugger to actually step through your code to see this.


Third, it appears that your array is defined as having limits of 7 and 14 based on a prior error message you posted. C arrays are zero- based, and in that same prior post you were for-looping with conditions <= 7 and <= 14 instead of < 7 and < 14. Be careful of access violations and memory trashing.

A forum that focuses on beginning programming may be more appropriate. I'd recommend idevgames.com; beginning game programming is within its scope.

--
Brad Oliver
email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Prev by Date: Re: Redisplaying the Window
  • Next by Date: XCode 2.4.1 Bug Report
  • Previous by thread: Re: Redisplaying the Window
  • Next by thread: XCode 2.4.1 Bug Report
  • Index(es):
    • Date
    • Thread