04.07.2018, 14:24
Quote:
Thank you, this looks shorter (and less variables and may be faster?) than mine.
|
However, I did a mistake myself. The code I provided will take space as default delimiter. To set the delimiter, use "p<delimiter_here>rest_here". In your case:
pawn Код:
sscanf(_money, "p<.>dd", cash, coin);