Advertisement
hakonhagland

macos-ncursesw-simple-test

Feb 25th, 2022
1,340
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.18 KB | None | 0 0
  1. #include <ncurses.h>
  2. #include <locale.h>
  3.  
  4. int main()
  5. {
  6.     setlocale(LC_ALL, "");
  7.     initscr();
  8.     printw("Hello, привет!");
  9.     refresh();
  10.     getch();
  11.     endwin();
  12.     return 0;
  13. }
  14.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement