• 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: How to access the value that a pointer is pointing to
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to access the value that a pointer is pointing to


  • Subject: Re: How to access the value that a pointer is pointing to
  • From: Eric Schlegel <email@hidden>
  • Date: Sat, 29 Apr 2006 13:29:44 -0700


On Apr 29, 2006, at 12:29 PM, Phil Faber wrote:

Make oneByte and oneByteASCII char and it will do what you want. Well, so far.

..but how can I then access the ASCII value of that character? I specifically need that value.

The oneByte variable will already contain the ASCII value of that character. In C, characters are treated as integers, and the value of a character is the ASCII value that corresponds to that character. So in fact, you don't even need the oneByteASCII variable; just use oneByte.


-eric

_______________________________________________
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: 
 >-[NSAttributedString initWithData:...] compresses spaces? (From: Glen Simmons <email@hidden>)
 >How to access the value that a pointer is pointing to (From: Phil Faber <email@hidden>)
 >Re: How to access the value that a pointer is pointing to (From: Patrick Seemann <email@hidden>)
 >Re: How to access the value that a pointer is pointing to (From: Phil Faber <email@hidden>)
 >Re: How to access the value that a pointer is pointing to (From: Paul Lynch <email@hidden>)
 >Re: How to access the value that a pointer is pointing to (From: Phil Faber <email@hidden>)

  • Prev by Date: Enabling undo in a CoreData app?
  • Next by Date: Re: How to access the value that a pointer is pointing to
  • Previous by thread: Re: How to access the value that a pointer is pointing to
  • Next by thread: Re: How to access the value that a pointer is pointing to
  • Index(es):
    • Date
    • Thread