r/C_Programming • • Jul 22 '26

Question The easiest UI library? (cross-platform)

Hello, I need to write a small emulator for a project. I want it to show RAM, registers, etc., while it's running a program step by step. Printing them out via printf is lame and won't look good.

Which is the absolute easiest graphics library for this purpose? I was suggested Newt, but it can't work under Windows.

Preferably, the library should have tutorials, examples, or at least full documentation.

42 Upvotes

39 comments sorted by

View all comments

Show parent comment

6

u/ewmailing Jul 22 '26

Nuklear is a pure C, single header file, immediate mode GUI.

https://github.com/immediate-mode-ui/nuklear

2

u/TwerkingHippo69 Jul 23 '26

Yeah, but the only thing is you will need to make custom adjustment and attach it to your renderer

Apart from that, very clean and fast library