How to read 0xFFFF from a file ?!?!

Francesco Rossi kilroy at kilsys.UUCP
Sat Jan 14 03:00:31 AEST 1989


Hiya world, I have a little problem, and I am asking myself if the whole
usenet users can solve it ... :-)
Well the main problem is that I have troubles reading an Sun's icon file
the file is built by lines as following:

    0xFFFF,0xFFFF,0xFFFF,0xFFFF,0x8000,0x0000,0x0000,0x0003,

The only way I tried is with scanf, but it didn't work ...
Any answer ?
Hope to get many answers soon ....
Thanks in advance ...
           Francesco

-- 
= Francesco Rossi, * Kilroy Software Development *  |Real users hates real
= UUCP: ...!uunet!altnet!altger!i2ack!kilsys!kilroy |programmers...
=       ...!pyramid!i2ack!kilsys!kilroy             +---------------------
=[### SCCS, the source motel! Programs  check in and never check out! ###]=



More information about the Comp.lang.c mailing list