• 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: Another newbie EXC_BAD_ACCESS in C
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Another newbie EXC_BAD_ACCESS in C


  • Subject: Re: Another newbie EXC_BAD_ACCESS in C
  • From: Gen Kiyooka <email@hidden>
  • Date: Fri, 13 Jan 2006 20:41:51 -0800

Well, for one:

On Jan 13, 2006, at 6:47 PM, John Stiles wrote:

fprintf(fp, "%c", dna1);


%c is the 'char specifier'

I believe you are looking for:

%s

Which is the string specifier.

That wouldn't necessarily cause a bad access, but it will make a 2- byte file, which is not what you are looking for.

_______________________________________________
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: Another newbie EXC_BAD_ACCESS in C
      • From: "Sean McBride" <email@hidden>
    • Re: Another newbie EXC_BAD_ACCESS in C
      • From: "W. Thomas Leroux" <email@hidden>
References: 
 >Another newbie EXC_BAD_ACCESS in C (From: "W. Thomas Leroux" <email@hidden>)
 >Re: Another newbie EXC_BAD_ACCESS in C (From: John Stiles <email@hidden>)

  • Prev by Date: NSWindow from another thread.
  • Next by Date: Re: Notifications when iPods are mounted...
  • Previous by thread: Re: Another newbie EXC_BAD_ACCESS in C
  • Next by thread: Re: Another newbie EXC_BAD_ACCESS in C
  • Index(es):
    • Date
    • Thread