[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

File I/O



this might be a little off topic but... :)

how can I read individual bytes from a file and push the value into a char
variable?
ie read the second byte of a file then push it in char secondByte


-
Cheers,
Outlaw Jim

"Cleavage(n): something you can approve of and look down
on at the same time."			-- W. Garnett.
LinuxGamer: http://linux.fsgs.com        ICQ #: 15030713
BASS for Lin: http://linux.fsgs.com/bass