Frederick Gotham <> writes:
> Chris Dollin posted:
>>> and the array elements of the type byte in C??
>>
>> In C, the nearest you'll get is a (n unsigned) char. This
>> may or may not correspond to what you want. Why do you want
>> to use "type byte"?
>
> I think it's *exactly* what he wants. I consider "char" to be synomonous
> with "byte".
>
> (But I don't consider a byte to always be 8 bits.)
Maybe. It's certainly true that a char occupies exactly one "byte" by
definition in C, but that's a C-specific definition of the term
"byte". Given that the OP is asking about this in the first place, I
doubt that he's familiar with the C definition.
I don't think there's any further point in speculating about what the
OP really wants. He can come back and clarify what he means.
--
Keith Thompson (The_Other_Keith)
kst- <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.