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_20822223_12666.cpp: In function 'int cmp(const void*, const void*)':
0_0_20822223_12666.cpp:16:49: error: 'strcmp' was not declared in this scope
  return strcmp(((mozhou*)p1)->a,((mozhou*)p2)->a);
                                                 ^
0_0_20822223_12666.cpp: In function 'int cmp1(const void*, const void*)':
0_0_20822223_12666.cpp:20:49: error: 'strcmp' was not declared in this scope
  return strcmp(((mozhou*)p1)->b,((mozhou*)p2)->b);
                                                 ^
0_0_20822223_12666.cpp: In function 'int finda()':
0_0_20822223_12666.cpp:29:23: error: 'strcmp' was not declared in this scope
   w=strcmp(ch,m[mid].a);
                       ^
0_0_20822223_12666.cpp: In function 'int findb()':
0_0_20822223_12666.cpp:42:23: error: 'strcmp' was not declared in this scope
   w=strcmp(ch,n[mid].b);
                       ^
0_0_20822223_12666.cpp: In function 'int main()':
0_0_20822223_12666.cpp:53:27: error: 'memset' was not declared in this scope
  memset(ch,'\0',sizeof(ch));
                           ^
0_0_20822223_12666.cpp:57:24: error: 'strcmp' was not declared in this scope
   if(!strcmp(ch,"@END@")) break;
                        ^
0_0_20822223_12666.cpp:81:17: error: 'strlen' was not declared in this scope
    len=strlen(ch);
                 ^
0_0_20822223_12666.cpp: At global scope:
0_0_20822223_12666.cpp:98:1: error: expected unqualified-id before '--' token
 ----------------------------------------------------------------------------------
 ^


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-11-17 00:13:28, Gzip enabled