Город МОСКОВСКИЙ
00:06:23

Ncurses and C++ 3 - getch (for Linux!)

Аватар
Кодовое возрождение
Просмотры:
31
Дата загрузки:
03.12.2023 00:29
Длительность:
00:06:23
Категория:
Обучение

Описание

In this tutorial I want to show you the getch, with it, we can get 1 character from the user, without enter.
Ncurses is a library for Linux we can use it to manipulate the terminal, so move to a specific coordinate, write out something there, get a character, use colors and so on.
The end of this series we'll write an old-stylish (characteric) snake game.
A good site, where you can get more information:
http://www.linuxdoc.org/HOWTO/NCURSES-Programming-HOWTO/index.html

Source:
http://pastebin.com/qP7csvwy

Рекомендуемые видео