• 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: "W. Thomas Leroux" <email@hidden>
  • Date: Sat, 14 Jan 2006 07:32:20 -0500


Thanks Gen, I did make that change, but it doesn't have any effect on the error. It would of course, have cause problems when it ran, so thanks.


Thomas

On 13-Jan-06, at 11:41 PM, Gen Kiyooka wrote:

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.



--
All about me!  Me! Me! Me!
http://www.wtl.technomages.net

_______________________________________________
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: 
 >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>)
 >Re: Another newbie EXC_BAD_ACCESS in C (From: Gen Kiyooka <email@hidden>)

  • Prev by Date: Re: Another newbie EXC_BAD_ACCESS in C
  • Next by Date: Re: Endian-ness of "PkgInfo" file
  • 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