0_0_25840323_19558.cpp: In function 'bool rd(T&)':
0_0_25840323_19558.cpp:12:39: error: too few arguments to function 'int getc(FILE*)'
char xchh; T f=1; while(xchh=getc(),(!isd(xchh))&&(xchh!=0));
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/locale.h:12:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/clocale:42,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/c++locale.h:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/localefwd.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:43,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_25840323_19558.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/stdio.h:487:15: note: declared here
int __cdecl getc(FILE *_File);
^
0_0_25840323_19558.cpp:12:51: error: there are no arguments to 'isd' that depend on a template parameter, so a declaration of 'isd' must be available [-fpermissive]
char xchh; T f=1; while(xchh=getc(),(!isd(xchh))&&(xchh!=0));
^
0_0_25840323_19558.cpp:12:51: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
0_0_25840323_19558.cpp:13:51: error: too few arguments to function 'int getc(FILE*)'
if(xchh==0) return 0; if(xchh=='-') xchh=getc(),f=-1; xa=xchh-'0';
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/locale.h:12:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/clocale:42,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/c++locale.h:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/localefwd.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:43,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_25840323_19558.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/stdio.h:487:15: note: declared here
int __cdecl getc(FILE *_File);
^
0_0_25840323_19558.cpp:14:21: error: too few arguments to function 'int getc(FILE*)'
while(xchh=getc(),isd(xchh)) xa=xa*10+xchh-'0'; xa*=f; return 1;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/locale.h:12:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/clocale:42,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/c++locale.h:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/localefwd.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:43,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_25840323_19558.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/stdio.h:487:15: note: declared here
int __cdecl getc(FILE *_File);
^
0_0_25840323_19558.cpp:14:31: error: there are no arguments to 'isd' that depend on a template parameter, so a declaration of 'isd' must be available [-fpermissive]
while(xchh=getc(),isd(xchh)) xa=xa*10+xchh-'0'; xa*=f; return 1;
^
0_0_25840323_19558.cpp: In instantiation of 'bool rd(T&) [with T = int]':
0_0_25840323_19558.cpp:20:9: required from here
0_0_25840323_19558.cpp:12:51: error: 'isd' was not declared in this scope
char xchh; T f=1; while(xchh=getc(),(!isd(xchh))&&(xchh!=0));
^
0_0_25840323_19558.cpp:14:31: error: 'isd' was not declared in this scope
while(xchh=getc(),isd(xchh)) xa=xa*10+xchh-'0'; xa*=f; return 1;
^
0_0_25840323_19558.cpp: In instantiation of 'bool rd(T&) [with T = long long int]':
0_0_25840323_19558.cpp:26:20: required from here
0_0_25840323_19558.cpp:12:51: error: 'isd' was not declared in this scope
char xchh; T f=1; while(xchh=getc(),(!isd(xchh))&&(xchh!=0));
^
0_0_25840323_19558.cpp:14:31: error: 'isd' was not declared in this scope
while(xchh=getc(),isd(xchh)) xa=xa*10+xchh-'0'; xa*=f; return 1;
^
|