0_0_29337735_18121.cpp: In function 'int main()':
0_0_29337735_18121.cpp:15:26: error: 'strlen' was not declared in this scope
reverse(o, o + strlen(o));
^
0_0_29337735_18121.cpp:27:24: error: too few arguments to function 'errno_t _itoa_s(int, char*, size_t, int)'
_itoa_s(sum, o, tbase);
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/stdlib.h:667:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/cstdlib:72,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/string_conversions.h:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2850,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_classes.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_29337735_18121.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/sec_api/stdlib_s.h:18:27: note: declared here
_CRTIMP errno_t __cdecl _itoa_s(int _Value,char *_DstBuf,size_t _Size,int _Radix);
^
|