Enter the characters you see below Sorry, we just need c programming worth learning make sure you’re not a robot. Enter the characters you see below Sorry, we just need to make sure you’re not a robot. M9 1a8 8 0 1 0 0 16A8 8 0 0 0 9 1zm.
Join Stack Overflow to learn, share knowledge, and build your career. M9 1a8 8 0 1 0 0 16A8 8 0 0 0 9 1zM8 15. How can I do GUI programming in C? I want to do Graphics programming in C. I had searched a lot about the compiler that provides a rich set of functions for doing GUI programming in C, but I couldn’t find anything.
Basically I want to draw buttons and then accept the choice from the user and take an appropriate action. It would be helpful if you can suggest a C compiler, or a library that I can add to my compiler. I am working on the Windows operating system. Presently, I am using TURBO C compiler that does not support direct methods for creating buttons. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion.
Did not find what they wanted? Try here
If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Why would you want to do GUI with C? Stop using TURBO C and start using a modern compiler. You are only using C and new to programming. With this compiler you can stop buying toilet paper. This is guaranteed to have nothing to do with the compiler.
All compilers do is compile the code that they are given. What you’re looking for is a GUI library, which you can write code against using any compiler that you want. Of course, that being said, your first order of business should be to ditch Turbo C. That compiler is about 20 years old and continuing to use it isn’t doing you any favors.
You can’t write modern GUI applications, as it will only produce 16-bit code. All modern operating systems are 32-bit, and many are now 64-bit. It’s also worth noting that 64-bit editions of Windows will not run 16-bit applications natively. It includes the same compiler available in the full version of the suite. And since you’re working in Windows, the Windows API is a natural choice.
It allows you to write native Windows applications that have access to the full set of GUI controls. You’ll find a nice tutorial here on writing WinAPI applications in C. If you choose to go with Visual Studio, it also includes boilerplate code for a blank WinAPI application that will get you up and running quickly. If you really care about learning to do this, Charles Petzold’s Programming Windows is the canonical resource of the subject, and definitely worth a read. The entire Windows API was written in C, and it’s entirely possible to write full-featured Windows applications in C.