上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 36 下一页
摘要: 效果 程序如下: /** File: main.c* Author: leo** Created on 2011年8月22日, 下午4:42*/ #include #include #include #include #include //called to draw scene void RenderScene(void) { //clear the window with ... 阅读全文
posted @ 2011-08-23 09:02 郭—大—侠 阅读(354) 评论(0) 推荐(0) 编辑
摘要: Linux上的IDE --Integrated Development Environments / RAD tools / GUI-builders on Linux: General/Editors: Amy (HTML, C, C++, Java, SQL, LaTeX, Makefiles and many more languages) blIDE (incomplete; no ... 阅读全文
posted @ 2011-08-22 12:47 郭—大—侠 阅读(442) 评论(0) 推荐(0) 编辑
摘要: Qt中出现‘class QApplication’ has no member named ‘setMainWidget’ 主要是因为qmake使用的是qt4的版本,而在qt4中已经不支持setMainWidget这个函数了,解决方法:在所有包含头文件的最前面添加#define QT3_SUPPORT,可以提供对qt3的支持,这样就可以解决问题了。 阅读全文
posted @ 2011-08-09 14:25 郭—大—侠 阅读(3240) 评论(0) 推荐(0) 编辑
摘要: refer:http://www.kuqin.com/qtdocument/signalsandslots.html 信号和槽用于对象间的通讯。信号/槽机制是Qt的一个中心特征并且也许是Qt与其它工具包的最不相同的部分。 在图形用户界面编程中,我们经常希望一个窗口部件的一个变化被通知给另一个窗口部件。更一般地,我们希望任何一类的对象可以和其它对象进行通讯。例如,如果我们正在解析一个XML文件,当... 阅读全文
posted @ 2011-08-09 09:49 郭—大—侠 阅读(279) 评论(0) 推荐(0) 编辑
摘要: Linux相关术语发音 Unix: [ ju:niks ] 发音 (yew-nicks) 尤里克斯GNU [ gəˈnju: ] 发音 (guh-noo) 葛扭Linux: [ ‘li:nэks ] 里那克斯GNOME: [ gəˈnoʊm ] 发音 (guh-nome) 葛擩呣Debian: [ ˈdebiən ] 发音 (deb-e-un)Ubuntu: [ ùbúntú ] 发音 (oo-B... 阅读全文
posted @ 2011-07-19 21:32 郭—大—侠 阅读(913) 评论(0) 推荐(0) 编辑
摘要: vim出错warning setlocale LC_CTYPE cannot change locale 在终端命令行下面,为了放置出现乱码,将LANG设置为en,不过在vim的时候却出现了如下提示信息: warning: setlocale: LC_CTYPE: cannot change locale (en) 估计就是语系的问题吧。 解决方法: 在bashrc中将设置的LANG的语句注释... 阅读全文
posted @ 2011-07-19 15:48 郭—大—侠 阅读(203) 评论(0) 推荐(0) 编辑
摘要: windows下安装cygwin及配置 对于使用Windows操作系统作为开发平台同时又喜欢类unix环境的朋友(Windows不是最方便的开发环境),这里是在Cygwin环境下安装Rails的步骤安装 Cygwin先去http://www.cygwin.com/setup.exe下载setup.exe,运行,得到这个界面: 点下一步,出现这个界面: 选择“Install from I... 阅读全文
posted @ 2011-07-16 16:16 郭—大—侠 阅读(292) 评论(0) 推荐(0) 编辑
摘要: Windows远程登陆Linux桌面的方法 Putty 第一种:putty。其实这个工具并不是桌面客户端,它只不过是一个远程登陆Linux的命令提示工具,但是我们知道,在Linux中,命令基本上就是一切,所以用这个客户端还是能够做到你想要的任何事情。 不过很可惜,用命令你不能聊天,用命令你不能用浏览器上网,用命令你不能看电影,所以我们仍然需要图形的桌面环境。 Cygwin 第二种:cygwin... 阅读全文
posted @ 2011-07-07 21:39 郭—大—侠 阅读(1580) 评论(0) 推荐(0) 编辑
摘要: Python的图形库太全了,导致我现在都有点要转到python麾下的冲动了。Graphical Representations of DataOver the years many different plotting modules and packages have been developed for Python. For most of that time there was no clear favorite package, but recently matplotlib has become the most widely used. Nevertheless, many of 阅读全文
posted @ 2011-07-06 17:30 郭—大—侠 阅读(1866) 评论(0) 推荐(0) 编辑
摘要: An error status was returned by the program 'xsetup', the X Window System version of 'install'. The following messages were written to standard error: /home/vlbi/MATHWORKS_R2008B/update/bin/glnx86/xsetup: error while loading shared libraries: libXp.so.6: cannot open shared object fil 阅读全文
posted @ 2011-07-06 10:50 郭—大—侠 阅读(242) 评论(0) 推荐(0) 编辑
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 36 下一页