[ale] Stupid question
Christopher Fowler
cfowler at outpostsentinel.com
Mon Oct 29 17:55:13 EST 2001
When I write the folling:
int c ='A'
to a file, the file is 4 bytes in size. In realsity that value could be
stored in one byte.
When I look at the file, it looks like this:
A NULL NULL NULL
using octal dump with the ascii option. I'm trying to build a config file
that is created from
a sturcture of values. The structure is very big. My calculations of
locations were so wrong due to
ths size of an interger being 4 bytes on my machine. Is there a way to make
the interger actually
1 byte so that the only thing in the file is A.
Thanks,
Chris Fowler
---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.
More information about the Ale
mailing list