F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_30383531_18737.cpp: In function 'int find(char*)':
0_0_30383531_18737.cpp:15:30: error: 'strcpy' was not declared in this scope
         strcpy(list[0].str, s);
                              ^
0_0_30383531_18737.cpp:20:34: error: 'strcmp' was not declared in this scope
         if (strcmp(list[i].str, s)==0)
                                  ^
0_0_30383531_18737.cpp:23:30: error: 'strcpy' was not declared in this scope
         strcpy(list[t].str, s);
                              ^
0_0_30383531_18737.cpp: In function 'int cmp(const void*, const void*)':
0_0_30383531_18737.cpp:36:65: error: 'strcmp' was not declared in this scope
     return strcmp((*(struct cam *)a).str, (*(struct cam *)b).str);
                                                                 ^
0_0_30383531_18737.cpp: In function 'int main()':
0_0_30383531_18737.cpp:45:35: error: 'memset' was not declared in this scope
         memset(list,0,sizeof(list));
                                   ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-09-29 07:33:35, Gzip enabled