c语言 gui 抽奖程序,C语言 GUI开发图形界面

用C语言开发图形界面

在浏览linuxquestions的时候,看到一篇关于Graphics Programming on linux using C的帖子,感觉不错,特来分享一下。

现在关于图形开发的VC,C#,java,QT等IDE大行其道。不过还是有一部分默默无闻的人偏爱着用pure代码来描绘着自己的世界。

我这里推荐几个,大家可以search一下相关的内容,下面即为keyword。

OpenGL

PGPLOT

GTK

KDE

GLUT

FLTK

ncurses

xlib

QT

SDL等

更多信息

SDL

SDL is a good library and used by game developers.

##OpenGL

You can also use OpenGL for 3d stuff, but be warned that performance will be poor unless X use 3d accelerated drivers. Otherwise it will use Mesa indirect.

svgalib

svgalib is easy to use, but people tend to overlook it because it doesn’t fit in well with the modern X graphics paradigm. I have a program (experix project in sourceforge) that plots graphs and writes text using a svgalib-based graphics server.

GTK+

GTK+: can be a little overwelming but I was able to understand it a lot better than xlib. It is slower tho i will admit.

never tried svgalib before but thanks for the link ill have to check that out.

GTK+: will confuse you on all its diffrent versions as well and for larger apps it can get a little confusing on what does what or how this is related to that.

ncurses

ncurses: is cool but can be a freekin nightmare. i still dont understand colums

and rows

Qt

Qt: dont know anything about this think i made a program with it before i Knew anything about C

xlib

xlib: Try if you dare you might find it more understandable then me. Never could get my hello world program to display.

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值