Re: HELP PLEASE - How to convert string to byte array
On Sat, 11 Jun 2005 23:44:45 +0000, pete wrote:
[color=blue]
> Lawrence Kirby wrote:
>[color=green]
>> Note that in the description above there is no
>> such thing in C as a "byte
>> object" (objects always have a type),
>> a char object is a byte *sized* object.[/color]
>
> An allocated object doesn't always have a type.[/color]
An allocated object is a grey area. The definition of the term "object"
says it is a region of data storage then contents of which can represent
values. Well a value in an object is an interpretation of a bit pattern
according to the rules of a type - if you have no type you can't represent
values.
Lawrence
On Sat, 11 Jun 2005 23:44:45 +0000, pete wrote:
[color=blue]
> Lawrence Kirby wrote:
>[color=green]
>> Note that in the description above there is no
>> such thing in C as a "byte
>> object" (objects always have a type),
>> a char object is a byte *sized* object.[/color]
>
> An allocated object doesn't always have a type.[/color]
An allocated object is a grey area. The definition of the term "object"
says it is a region of data storage then contents of which can represent
values. Well a value in an object is an interpretation of a bit pattern
according to the rules of a type - if you have no type you can't represent
values.
Lawrence
Comment