开发者

Programming a usable window using C

开发者 https://www.devze.com 2023-02-07 02:41 出处:网络
So being new to the C language i want to program a simple window or GUI. are there any good web pages or books i could get to learn how to do this? I\'ve searched around on the net and haven\'t c开发者

So being new to the C language i want to program a simple window or GUI. are there any good web pages or books i could get to learn how to do this? I've searched around on the net and haven't c开发者_开发问答ome up with anything! or if someone could send me on the right track like what to #include and maybe some important commands that i will need that would be awesome! thanks!


Check out GTK. You didn't say what OS you are using. GTK is cross platform, but easiest to use on Linux.


You need a gui toolkit, you can either use one built into your OS (eg the Win32 API on windows) or pick a platform independant one

Qt http://qt.nokia.com/ is probably the most popular full featured one, or you can start with something quicker and easy like http://www.fltk.org/

0

精彩评论

暂无评论...
验证码 换一张
取 消