• 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: Denis Defreyne <email@hidden>
  • Date: Wed, 12 Apr 2006 19:14:15 +0200

On 12 Apr 2006, at 19:09, Jonathan wrote:

[snip]
scanf("%c",key);
[/snip]

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.

Regards,

Denis Defreyne

--
mail: email@hidden
web: http://amonre.org/


_______________________________________________ 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
  • Follow-Ups:
    • Re: signal 11 (SIGSEGV)?
      • From: Uli Kusterer <email@hidden>
References: 
 >signal 11 (SIGSEGV)? (From: Jonathan <email@hidden>)

  • Prev by Date: Re: signal 11 (SIGSEGV)?
  • Next by Date: Re: Distributed Objects - setting protocol crashing GCC 4.0
  • Previous by thread: Re: signal 11 (SIGSEGV)?
  • Next by thread: Re: signal 11 (SIGSEGV)?
  • Index(es):
    • Date
    • Thread