What is the correct behavior for the following code?

Tom St Denis tomstdenis@goplay.com
Mon May 31 21:10:00 GMT 1999


>I have been having some portability problems with
>scanf %i and %X.

Try this conversion

	%i to %ld
and
	%x to %lx

Some compilers don't reconize %i and some others don't like the short 
hex format...

Tom

+--------------------------------------------------------------------------+
| The coolest site for free home pages, email, chat, e-cards, movie info.. |
|               http://www.goplay.com - it's time to Go Play!              |
+--------------------------------------------------------------------------+

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list