Path: utzoo!attcan!uunet!lll-winken!ncis.llnl.gov!helios.ee.lbl.gov!pasteur!ucbvax!decwrl!pyramid!i2ack!kilsys!kilroy From: kilroy@kilsys.UUCP (Francesco Rossi) Newsgroups: comp.lang.c Subject: How to read 0xFFFF from a file ?!?! Message-ID: <116@kilsys.UUCP> Date: 13 Jan 89 17:00:31 GMT Reply-To: kilroy@kilsys.UUCP (Francesco Rossi) Organization: Kilroy Software Development Lines: 18 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! ###]=