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_33629527_5469.cpp: In function 'void SetPos1(int, int)':
0_0_33629527_5469.cpp:50:5: error: 'COORD' was not declared in this scope
     COORD pos;
     ^
0_0_33629527_5469.cpp:51:5: error: 'HANDLE' was not declared in this scope
     HANDLE handle;
     ^
0_0_33629527_5469.cpp:52:5: error: 'pos' was not declared in this scope
     pos.X = x;
     ^
0_0_33629527_5469.cpp:54:5: error: 'handle' was not declared in this scope
     handle = GetStdHandle(STD_OUTPUT_HANDLE);    //获取当前窗口句柄
     ^
0_0_33629527_5469.cpp:54:27: error: 'STD_OUTPUT_HANDLE' was not declared in this scope
     handle = GetStdHandle(STD_OUTPUT_HANDLE);    //获取当前窗口句柄
                           ^
0_0_33629527_5469.cpp:54:44: error: 'GetStdHandle' was not declared in this scope
     handle = GetStdHandle(STD_OUTPUT_HANDLE);    //获取当前窗口句柄
                                            ^
0_0_33629527_5469.cpp:55:40: error: 'SetConsoleCursorPosition' was not declared in this scope
     SetConsoleCursorPosition(handle,pos);
                                        ^


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-26 07:13:06, Gzip enabled