Category: Graphics

How to write a program using ncurses library to move cursor to a point on logical screen ?

#include <unistd.h> #include <stdlib.h> #include <curses.h> int main() { initscr(); move(5,15); printw(“%s”,”Hello World”); refresh(); sleep(2); endwin(); exit(EXIT_SUCCESS); }

Read More