Hello
Is it possible to make programs with GUI with C?
if possible where can I read about it?
Hello
Is it possible to make programs with GUI with C?
if possible where can I read about it?
It's certainly possible, but the mechanics of GUI's [many similar operations done to "things" [objects] that have many similar properties, but are slightly varying] makes C++ a much more attractive language [because C++ allows you to create a base-class for the basic "things" and then extend it through inheritance to do different variants of the same base].
Don't know of a good reference.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
Go and read the GTK+ source code
Well, any Win32 tutorial would be a good reference, because they are mostly written in C.
Hereby I recommend the good old theForger's Win32 API Tutorial
"The Internet treats censorship as damage and routes around it." - John Gilmore
note that your code will not be portable if you use the Win32 API though. I personally prefer cross-platform APIs, eg. GTK, or QT for C++.
True. But at the present stage, I don't think wine is at a high enough quality or completeness to rely production code on (it does a very admirable job though). I personally won't rely on wine in codes I write unless there is (a) very good reason(s) to use the Win32 API over natively cross-platform APIs.Depends what you mean by "portable." Win32 code will run fine under Wine, in most cases.
Of course, running "existing" Win32 codes on wine is another story, but I don't recommend writing them in the first place, seeing how many cross-platform libraries are very mature now (as far as I can tell).
Last edited by cyberfish; 11-04-2007 at 10:23 PM.
Note that my opinion may be biased, since I am a Linux user myself. Therefore, I take portability more importantly than many other programmers do.