有人可以向我解释这个C代码吗? [英] Can someone please explain this C code to me?
本文介绍了有人可以向我解释这个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
这篇关于有人可以向我解释这个C代码吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文