[Ajuda] sscanf
#3

PHP код:
#if !defined isnull
    #define isnull(%1) \
                
((!(%1[0])) || (((%1[0]) == '\1') && (!(%1[1]))))
#endif 
ou entгo se preferir em stock:

PHP код:
stock sscanf(string[], format[], {Float,_}:...)
{
#if defined isnull
if (isnull(string))
#else
if (string[0] == || (string[0] == && string[1] == 0))
#endif
{
return 
format[0];

Reply


Messages In This Thread
sscanf - by Nice-.- - 17.10.2012, 15:00
Re: sscanf - by Q.I - 17.10.2012, 15:04
Re: sscanf - by Ely Manning - 17.10.2012, 15:09
Re: sscanf - by Nice-.- - 17.10.2012, 15:16

Forum Jump:


Users browsing this thread: 2 Guest(s)