Mail Archives: djgpp/1999/09/05/13:58:46
I've solved my 'sscanf()' problem by simply declaring some local variables
as 'unsigned int's and then using 'sscanf()' to read them from my string.
After that, I cast them to their 'u_shortint' equivalents in the 'vidmode_t'
structure. Hmmm...why didn't I try that before ? Doh ! Thanks for your
help, Eli. Bye,
Pete =:-)
--
/*************** [burdock] ****************/
/* ____/| pete AT restall DOT net */
/* \ o.O| http://www.iirc.net/petes/ */
/* =(_)= */
/* U */
/******************************************/
/******************************* [Windoze 98] ********************************/
/* Windows 98: n. (Alex Satrapa). */
/* 64 bits (and pieces) of bugs (and fixes) and featuritis tacked on to 32 */
/* bit extensions and a graphical shell for a 16 bit patch to an 8 bit */
/* operating system originally coded for a 4 bit microprocessor, written */
/* by a 2 bit company that can't stand 1 bit of competition, and has not a */
/* bit of respect for their customers. */
/*****************************************************************************/
- Raw text -