length-modifiers Questions

2

Solved

Another way to phrase this question might be "How to end format specifiers in printf" If I want to print microseconds in this format 100us using the following code... long microseconds = ...

5

Solved

Why is it that scanf() needs the l in "%lf" when reading a double, when printf() can use "%f" regardless of whether its argument is a double or a float? Example code: double d; scanf("%lf", &...
Isocrates asked 16/10, 2008 at 23:5
1

© 2022 - 2024 — McMap. All rights reserved.