windows - How can I do GUI programming in C? -
I want to do graphics programming in C. I searched a lot about the compiler which provides a rich set of functions to do GUI programming in C, but I could not find anything.
Actually I want to draw the button and then accept the user's choice and take the appropriate action. It would be useful if you can suggest a compiler or a library that I can add to my compiler. I'm working on the Windows operating system.
Currently, I am using the Turbo C compiler which does not support direct methods for creating buttons. Any help would be appreciated.
To do this nothing is is guaranteed to compiler with all compilers They compile such code that they are given. You are looking for a GUI library, which you want to be able to write a code against using any compiler. Of course, it is being said, the first order of your business should be for the sake of Turbo C. That compiler is about 20 years old and continues to use it, it is not doing any favor to you. You can not write modern GUI applications, because it will only provide 16-bit code. All modern operating systems are 32-bit, and many are now 64-bit. It is also worth noting that the 64-bit version of Windows will not run on 16-bit applications by default, you will need an emulator for it; This is not really about creating a lot of sense of achievement if you can write applications that only work in DOS emulator: -) Microsoft's Visual Studio Express C ++ includes a full version of the suite The compiler is only available. C ++ package also produces pure C code. And since you're working in Windows, the Windows API is a natural choice. This allows you to write the original Windows applications which has access to the complete set of GUI controls. If you choose to go with Visual Studio, you also include a boilerplate code for the empty WinAPI application that you have to pick up and run quickly. If you really care about learning about doing so, Charles is the legal resource of the subject of Petzold, and is definitely readable, written in the entire Windows API C, and It is perfectly possible to write full-featured Windows applications in C. You do not need any smelly 'C ++'. This is the way me do it, at least as other suggestions suggest, this is also an option. But this app generates an apprehension that it is just frightening on windows. Edit: Oh dear ... It seems that you can not write alone using an archive compiler "GUI" application a Google search low library Varies with: if you One of those bad guys who are stuck in disappointment outside the Indian school system and are forced to use turbo c to complete their education. May be an option. I hate to recommend it because you are learning to work around your boundaries when you graduate totally useless , but apparently this is out for you.
Comments
Post a Comment