Yes, don’t leave.
C cannot do anything but manage memory and possibly do software interrupts (if you are doing hacking).
You need a library to do something.
The GUI is very complex, you cannot do anything “simple” with it. This is a problem that I face every day.
If you need a window on C, you need X11, GTK, Windows API, hacking video or other funny things.
Oh, and hacking a video is not an option, the OS will throw an exception if you even try to touch the video memory without its permission.
Oh, and the “simple button” you are talking about in the Windows API is actually the window itself, not very simple.
source share