0_0_28406410_13360.cpp: In function 'int main()':
0_0_28406410_13360.cpp:74:24: error: invalid conversion from 'char*' to 'size_t {aka long long unsigned int}' [-fpermissive]
strncpy_s(a, c[i], j);
^
0_0_28406410_13360.cpp:74:24: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
0_0_28406410_13360.cpp:74:24: error: too few arguments to function 'errno_t strncpy_s(char*, size_t, const char*, size_t)'
In file included from GCC4.9.2/x86_64-w64-mingw32/include/string.h:180:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/cstring:42,
from 0_0_28406410_13360.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/sec_api/string_s.h:29:27: note: declared here
_CRTIMP errno_t __cdecl strncpy_s(char *_Dst,size_t _DstSizeInChars,const char *_Src,size_t _MaxCount);
^
0_0_28406410_13360.cpp:75:22: error: invalid conversion from 'char*' to 'size_t {aka long long unsigned int}' [-fpermissive]
strncpy_s(b, c[i] + j, len - j);
^
0_0_28406410_13360.cpp:75:31: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
strncpy_s(b, c[i] + j, len - j);
^
0_0_28406410_13360.cpp:75:34: error: too few arguments to function 'errno_t strncpy_s(char*, size_t, const char*, size_t)'
strncpy_s(b, c[i] + j, len - j);
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/string.h:180:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/cstring:42,
from 0_0_28406410_13360.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/sec_api/string_s.h:29:27: note: declared here
_CRTIMP errno_t __cdecl strncpy_s(char *_Dst,size_t _DstSizeInChars,const char *_Src,size_t _MaxCount);
^
|