如何使用C++和NCurses获取终端中光标的当前位置?我搜索了一下,找到了“getxy(int x, int y)”这个函数。我尝试使用它,但是出现了错误“'getxy' was not declared in this scope”。