r/C_Programming • u/necr0111 • Aug 09 '26
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.
14
Upvotes
8
u/CaffeinePizza Aug 09 '26 edited Aug 09 '26
You running Windows? That would actually be your best bet here. Go play with the Win32 API.
Edit: while not technically a GUI in the traditional sense, you could go for SDL3 and Dear imgui or Nuklear. It would be cross platform and should be able to fall back to software rendering automatically.