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_18026836_5987.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_18026836_5987.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_18026836_5987.cpp: In function 'int main()':
0_0_18026836_5987.cpp:5:5: error: 'IplImage' was not declared in this scope
     IplImage *img = 0;
     ^
0_0_18026836_5987.cpp:5:15: error: 'img' was not declared in this scope
     IplImage *img = 0;
               ^
0_0_18026836_5987.cpp:6:62: error: 'cvLoadImage' was not declared in this scope
     img = cvLoadImage("/home/todayac/Desktop/img/test.jpg",-1);
                                                              ^
0_0_18026836_5987.cpp:7:28: error: 'cvNamedWindow' was not declared in this scope
     cvNamedWindow("lena", 1);
                            ^
0_0_18026836_5987.cpp:8:28: error: 'cvShowImage' was not declared in this scope
     cvShowImage("lena", img);
                            ^
0_0_18026836_5987.cpp:9:5: error: 'cvWaitKe' was not declared in this scope
     cvWaitKe...        
     ^
0_0_18026836_5987.cpp:9:13: error: expected '}' at end of input
     cvWaitKe...        
             ^


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-23 07:25:47, Gzip enabled