Double specifier?. sscanf
#9

Quote:
Originally Posted by Dutheil
Посмотреть сообщение
sscanf does it.
Of course.

pawn Код:
new string[3], integer;
strcat(string, "55");

if(sscanf(string, "i", integer))
{
    // Use "integer".
}
else
{
    // Use "string".
}
Either way.
Reply


Messages In This Thread
Double specifier?. sscanf - by GranaT3 - 10.11.2015, 21:14
Re : Double specifier?. sscanf - by Dutheil - 11.11.2015, 02:52
Re: Double specifier?. sscanf - by Kevln - 11.11.2015, 03:04
Re: Double specifier?. sscanf - by ThePhenix - 11.11.2015, 03:04
Re: Double specifier?. sscanf - by J0sh... - 11.11.2015, 03:22
Re : Re: Double specifier?. sscanf - by Dutheil - 11.11.2015, 03:32
Re: Double specifier?. sscanf - by Kevln - 11.11.2015, 03:44
Re : Re: Double specifier?. sscanf - by Dutheil - 11.11.2015, 04:01
Re: Re : Re: Double specifier?. sscanf - by Kevln - 11.11.2015, 04:31
Re: Re : Re: Double specifier?. sscanf - by J0sh... - 13.11.2015, 22:56

Forum Jump:


Users browsing this thread: 2 Guest(s)