Optional specifiers - SSCANF
#4

Quote:
Originally Posted by Crayder
Посмотреть сообщение
No, altogether it is:
A<i> 'array of integers'
(3) 'default of 3'
[4] '4 values'

This [sscanf("1 2", "A<i>(3)[4]", arr);] would produce and array of integers 1, 2, 3, and 3.
Got it thanks.

Out of curiosity, Can you give another example code concerning that ?. Please.
Reply


Messages In This Thread
Optional specifiers - SSCANF - by CrashCar - 17.04.2015, 22:17
Re: Optional specifiers - SSCANF - by Jefff - 17.04.2015, 22:24
Re: Optional specifiers - SSCANF - by Crayder - 17.04.2015, 22:35
Respuesta: Re: Optional specifiers - SSCANF - by CrashCar - 18.04.2015, 00:29

Forum Jump:


Users browsing this thread: 1 Guest(s)