| rocketboy9000 (560) | |
The article on scanf here is missing the following type/conversion specifiers:%a argument type float*%p argument type void**%S argument type wchar_t*%[charset] argument type *char which gets a sequence of characters from the set.%i argument type int* gets anything recognised by strtol(s,0).%n argument type int* does not read anything, writes in the number of bytes read so far.%% matches a %.The following type modifiers are missing: %lld argument type turns to long long*.%jd argument type turns to intmax_t*.%zd argument type turns to size_t*.%ls argument type turns to wchar_t*.There are similar omissions in the article on printf. | |
|
Last edited on
|
|
| Bazzy (6275) | |
| C++ is based on C89 not C99 | |
|
|
|
| Cubbi (720) | |
| Not anymore. | |
|
|
|
| shacktar (1070) | |||
Yes, it still is. | |||
|
Last edited on
|
|||
| Catfish (646) | |
|
Unless the admin to wait until C++11 is better supported decided, soon the updates made will be. | |
|
Last edited on
|
|
| Cubbi (720) | ||
The current C++ standard says, in ยง1.2[intro.refs]/2,
(and scanf is later listed as one of the 209 functions from the C standard library included in C++) | ||
|
Last edited on
|
||