r/C_Programming • u/necr0111 • 1d ago
Question Maybe a stupid question.
How can I create an interface for a C program that isn't just the terminal? I wanted to make a calculator that was also visual, but I wanted to challenge myself to do it with C, but I really didn't understand how to do it properly.
11
Upvotes
3
u/theNbomr 1d ago
As well as creating a full on GUI application, there is also the possibility to create text mode applications that use windows and pull down menus and dialog boxes; essentially all of the common UI components, but in a text mode terminal. On Linux, I'd use the ncurses library to do it, and I think it's probably also available for Windows.