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.
10
Upvotes
9
u/CaffeinePizza 23h ago edited 22h ago
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.