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_16209490_8733.cpp: In function 'int comp1(const void*, const void*)':
0_0_16209490_8733.cpp:24:25: error: 'strcmp' was not declared in this scope
  return strcmp(A->a,B->a);
                         ^
0_0_16209490_8733.cpp: In function 'int comp2(const void*, const void*)':
0_0_16209490_8733.cpp:31:25: error: 'strcmp' was not declared in this scope
  return strcmp(A->b,B->b);
                         ^
0_0_16209490_8733.cpp: In function 'void Search(char*, int, int, int)':
0_0_16209490_8733.cpp:43:25: error: 'strcmp' was not declared in this scope
    if(strcmp(s,d[1][m].b)==0)
                         ^
0_0_16209490_8733.cpp:45:31: error: 'strlen' was not declared in this scope
     for(i=1;i<strlen(d[1][m].a)-1;i++)
                               ^
0_0_16209490_8733.cpp:63:25: error: 'strcmp' was not declared in this scope
    if(strcmp(s,d[0][m].a)==0)
                         ^
0_0_16209490_8733.cpp: In function 'int main()':
0_0_16209490_8733.cpp:86:24: error: 'strcmp' was not declared in this scope
   if(strcmp(str,"@END@")==0)
                        ^
0_0_16209490_8733.cpp:94:21: error: 'strlen' was not declared in this scope
   while(i<strlen(str))
                     ^
0_0_16209490_8733.cpp:98:26: error: 'strcpy' was not declared in this scope
   strcpy(d[1][cnt].a,str1);
                          ^


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-12-04 09:47:56, Gzip enabled