0_0_19559403_30617.cpp: In function 'int main()':
0_0_19559403_30617.cpp:12:20: error: too few arguments to function 'char* gets_s(char*, rsize_t)'
while (gets_s(word) != NULL) {
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/stdio.h:959:0,
from GCC4.9.2/x86_64-w64-mingw32/include/locale.h:12,
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++/ios:41,
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_19559403_30617.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/sec_api/stdio_s.h:91:25: note: declared here
_CRTIMP char* __cdecl gets_s(char*,rsize_t);
^
0_0_19559403_30617.cpp:14:29: error: 'memset' was not declared in this scope
memset(tag, 0, sizeof(tag));
^
0_0_19559403_30617.cpp:15:27: error: 'strlen' was not declared in this scope
int length = strlen(word),stack = 0,flag = 0,mflag=0;
^
0_0_19559403_30617.cpp:20:5: error: 'mflag' was not declared in this scope
mflag ++;
^
0_0_19559403_30617.cpp:45:29: error: 'stack' was not declared in this scope
if (!strcmp(tmp1, tag[stack-1]))
^
0_0_19559403_30617.cpp:45:37: error: 'strcmp' was not declared in this scope
if (!strcmp(tmp1, tag[stack-1]))
^
0_0_19559403_30617.cpp:66:18: error: 'stack' was not declared in this scope
strcpy(tag[stack], tmp);
^
0_0_19559403_30617.cpp:66:29: error: 'strcpy' was not declared in this scope
strcpy(tag[stack], tmp);
^
0_0_19559403_30617.cpp:78:10: error: 'mflag' was not declared in this scope
if (!mflag)
^
0_0_19559403_30617.cpp:79:6: error: 'flag' was not declared in this scope
flag = 1;
^
0_0_19559403_30617.cpp:90:10: error: 'flag' was not declared in this scope
else flag ++;
^
0_0_19559403_30617.cpp:94:8: error: 'flag' was not declared in this scope
if (!flag && !stack && !mflag)
^
0_0_19559403_30617.cpp:94:17: error: 'stack' was not declared in this scope
if (!flag && !stack && !mflag)
^
0_0_19559403_30617.cpp:94:27: error: 'mflag' was not declared in this scope
if (!flag && !stack && !mflag)
^
|