Can someone mail me a small program to show me how to use the getyx() function
included from the curses library, my program tries to return the y value of the
cursor position but I get the following compiler errors and dont know what they mean:
part1.c:51: invalid type argument of `->'
part1.c:51: invalid type argument of `->'
int wherey(void)
{
int x, y;
getyx(0, y, x); /* This is the line the errors point to */
return y;
What have I done wrong? All I want is the y position of the cursor on the currentQuote:}
screen.
Any help would be appreciated!
Matthew.