• 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: signal 11 (SIGSEGV)?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: signal 11 (SIGSEGV)?


  • Subject: Re: signal 11 (SIGSEGV)?
  • From: Uli Kusterer <email@hidden>
  • Date: Thu, 13 Apr 2006 19:54:09 +0200

Am 12.04.2006 um 19:14 schrieb Denis Defreyne:
That line should read:
scanf("%c",key);
since you have to pass a pointer to 'key' to scanf, not the value of key.


Also, this message is not exactly Cocoa-related. This is not the best place to ask such trivial questions.

Well, for mathematician's meanings of trivial (our Prof always told us it came from "trivium", which are the basic sciences everyone at a university had to learn in the middle ages or something). Since this list is about Cocoa, you may want to try an ANSI or ISO C specific mailing list, like the comp.lang.c newsgroup or something like that.


Cheers,
-- M. Uli Kusterer
http://www.zathras.de


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >signal 11 (SIGSEGV)? (From: Jonathan <email@hidden>)
 >Re: signal 11 (SIGSEGV)? (From: Denis Defreyne <email@hidden>)

  • Prev by Date: Re: Is this program open?
  • Next by Date: Re: Is this program open?
  • Previous by thread: Re: signal 11 (SIGSEGV)?
  • Next by thread: Cocoa Web Service Questions
  • Index(es):
    • Date
    • Thread