Re: How to access the value that a pointer is pointing to
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