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_19920423_6462.cpp: In function 'int cmp(const void*, const void*)':
0_0_19920423_6462.cpp:13:28: error: invalid use of incomplete type 'struct cmp(const void*, const void*)::s'
     return (*(struct s *)a).v-(*(struct s *)b).v;
                            ^
0_0_19920423_6462.cpp:13:22: error: forward declaration of 'struct cmp(const void*, const void*)::s'
     return (*(struct s *)a).v-(*(struct s *)b).v;
                      ^
0_0_19920423_6462.cpp:13:47: error: invalid use of incomplete type 'struct cmp(const void*, const void*)::s'
     return (*(struct s *)a).v-(*(struct s *)b).v;
                                               ^
0_0_19920423_6462.cpp:13:22: error: forward declaration of 'struct cmp(const void*, const void*)::s'
     return (*(struct s *)a).v-(*(struct s *)b).v;
                      ^


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-27 03:36:38, Gzip enabled