有人可以向我解释这个C代码吗?

有人可以向我解释这个C代码吗?

问题描述:

HANDLE h = GetStdHandle(STD_OUTPUT_HANDLE);

COORD position = {col,row};

SetConsoleCursorPosition(h,position);



我尝试过的事情:



这是一本书中的代码让我们C.有到目前为止还没有提到HANDLE或GetStdHandle。有人可以向我解释这些是什么吗?

HANDLE h = GetStdHandle(STD_OUTPUT_HANDLE);
COORD position = {col, row};
SetConsoleCursorPosition(h, position);

What I have tried:

This is a code from the book Let us C. There was no mention of HANDLE or GetStdHandle till now. Can somebody please explain to me what these are??

要学习C语言,请从参考书开始。

C编程语言 - 维基百科,免费的百科全书 [ ^ ]

https://hassanolity.files.wordpress.com/2013/11/the_c_programming_language_2.pdf [ ^ ]

http://www.ime.usp.br/~pf/Kernighan-Ritchie/C-Programming-Ebook.pdf [ ^ ]
To learn C language, start with reference book.
The C Programming Language - Wikipedia, the free encyclopedia[^]
https://hassanolity.files.wordpress.com/2013/11/the_c_programming_language_2.pdf[^]
http://www.ime.usp.br/~pf/Kernighan-Ritchie/C-Programming-Ebook.pdf[^]


请参阅 这个答案 [ ^ ]问题。



/ ravi
See the answer to this[^] SO question.

/ravi