How do you input a LONG datatype or print it using a format string? For example, integer is "%i" and float is "%f"...how do you output a LONG (without the .000...)??
Please respond by e-mailing me...([email protected]), I probably won't have time to check to see if i get any responses...
: How do you input a LONG datatype or print it using a format string? For example, integer is "%i" and float is "%f"...how do you output a LONG (without the .000...)??
If you mean a 'long' (C is case sensitive), then the C conversion code for the scanf and printf family of functions is "%ld" or "%li".
: Please respond by e-mailing me...([email protected]), I probably won't have time to check to see if i get any responses...
Comments
If you mean a 'long' (C is case sensitive), then the C conversion code for the scanf and printf family of functions is "%ld" or "%li".
: Please respond by e-mailing me...([email protected]), I probably won't have time to check to see if i get any responses...
: Thanks,
: ~Eric