Skip to content

TRUEANGLE

BEAUTY AND PLAY

  • GitLab
  • GitHub
  • Configuration
  • AI
  • BLOG
  • ABOUT
    • ABOUT
    • Perception Style
    • Motivation

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

Posted byjeffrin June 6, 2014
#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);

}
Posted byjeffrinJune 6, 2014Posted inC, operating system, Programming LanguagesTags: curses, Graphics, library, ncurses

Post navigation

Previous Post Previous post:
How to write a program which does not echo user input to the screen ?
Next Post Next post:
Hacking with a program which has initialization of a MYSQL object
June 2014
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
30  
« May   Jul »
TRUEANGLE, Proudly powered by WordPress.