[ home / board list / faq / random / create / bans / search / manage / irc ] [ ]

/prog/ - Programming

Programming board

Catalog

Name
Email
Subject
Comment *
File
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Embed
(replaces files and can be used instead)
Options
Password (For file and post deletion.)

Allowed file types:jpg, jpeg, gif, png, webm, mp4, pdf
Max filesize is 8 MB.
Max image dimensions are 10000 x 10000.
You may upload 1 per post.


File: 1454925825843.gif (19.11 KB, 617x388, 617:388, u_term_01.gif)

c36779 No.3909

Hello /prog/!

Learning myself C at a steady and slow pace. Now I've learn that creating even the most simple TUI using printf is bloody murder. So I've decided to take it to the next level.

Can anyone please tell me if there's a good tutorial on how to create terminals using <curses.h> (or some other library).

24d9d3 No.3923

I, too, am interested in a good tutorial.

Everything I've seen is shit.


69388e No.3940

>>3909

As far as I can tell, the most common library for this kind of thing is ncurses. The original curses was discontinued long ago.

I haven't done much ncurses programming myself, but this here seems reasonably thorough: http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/


c36779 No.3947

>>3940

Thanks a lot!


080bea No.3952

>>3947

Pirate Visual Basic for DOS.


c36779 No.3953

>>3952

>Visual Basic for DOS

Seems cool! And does that code transslate to C code?


d3778e No.3955

>>3940

>>3909

This one is ok OP, just remember that you have to use pdcurses if you want it to be remotely portable.


c36779 No.3959

>>3955

Thanks! But the terminal is to make it easier for me to explore and develop core mechanics.




[Return][Go to top][Catalog][Post a Reply]
Delete Post [ ]
[]
[ home / board list / faq / random / create / bans / search / manage / irc ] [ ]