-1
有人能告訴我printw到底做了什麼嗎?我試圖尋找信息,但找不到任何東西。「printw」究竟做了什麼? (Ncurses)
有人能告訴我printw到底做了什麼嗎?我試圖尋找信息,但找不到任何東西。「printw」究竟做了什麼? (Ncurses)
在Google
上顯示了一些不錯的文檔。
printw() class: Print formatted output similar to printf()
和
6.3.1. printw() and mvprintw
These two functions work much like printf(). mvprintw() can be used to move
the cursor to a position and then print. If you want to move the cursor first
and then print using printw() function, use move() first and then use printw()
though I see no point why one should avoid using mvprintw(), you have the
flexibility to manipulate.
TBH,ncurses的文檔片**它。幾乎所有的在線教程都是如此。 – zubergu