0_0_30449347_27770.cpp: In function 'int find(char*)':
0_0_30449347_27770.cpp:21:26: error: 'strcpy_s' was not declared in this scope
strcpy_s(a[0].name, str);
^
0_0_30449347_27770.cpp:27:29: error: 'strcmp' was not declared in this scope
if (!strcmp(a[i].name, str))
^
0_0_30449347_27770.cpp:31:26: error: 'strcpy_s' was not declared in this scope
strcpy_s(a[t].name, str);
^
0_0_30449347_27770.cpp: In function 'bool cmp(node, node)':
0_0_30449347_27770.cpp:42:33: error: 'strcmp' was not declared in this scope
return strcmp(a.name, b.name) < 0?1:0;
^
0_0_30449347_27770.cpp: In function 'int main()':
0_0_30449347_27770.cpp:56:25: error: 'scanf_s' was not declared in this scope
while (scanf_s("%d",&to)==1)
^
0_0_30449347_27770.cpp:59:25: error: 'memset' was not declared in this scope
memset(a, 0, sizeof(a));
^
0_0_30449347_27770.cpp:85:35: error: cast from 'char*' to 'char' loses precision [-fpermissive]
printf_s("%s %d\n", (char)a[i].name, a[i].score);
^
|