随笔分类 -  Computer

摘要:用gcc编译c程序的时候 经常会出现implicit declaration of function '...' 的warning偶经过这几天的经验,发现主要有2种情况会产生这种warning1 没有把函数所在的c文件生成.o目标文件2 在函数所在的c文件中定义了,但是没有在与之相关联的.h文件中声明第二种情况如此:camif_fsm.c中的函数定义:void camif_start_c_with_p(camif_cfg_t *cfg, camif_cfg_t *other){// cfg->gc->other = get_camif(CODEC_MINOR);cf 阅读全文
posted @ 2011-10-08 15:50 郭—大—侠 阅读(217) 评论(0) 推荐(0)
摘要:Development Software for Windows and Linux Task Windows Application Linux Application Integrated Development Environments Borland C++, Delphi, Visual Studio, .NET ... 阅读全文
posted @ 2011-05-22 06:29 郭—大—侠 阅读(249) 评论(0) 推荐(0)
摘要:1.用如下命令删除字库顺序的配置文件sudo rm /etc/fonts/conf.d/49-sansserif.conf 2.重启,即可 解决Ubuntu Audacious的文件列表中文乱码问题:我们在使用Ubuntu Audacious的过程中常常遇到播放列表中无法正确显示文件信息的情况。产生的原因往往是由于音乐文件所携带的信息字符编码于Ubuntu Audacious默认的不同造成的。Ubuntu Audacious默认的字符集是UTF-8,而很多音乐文件则不是,造成了显示为方块、问号或者其它乱码的情况。Ubuntu Audacious中为我们提供了一个选项来解决这个问题。 解决方法如 阅读全文
posted @ 2011-03-05 17:59 郭—大—侠 阅读(420) 评论(0) 推荐(0)
摘要:Q. How do I install Languages in Linux after installation? I don’t have any language specific support installed but need to install the same. I’m using both RHEL 5 and CentOS 5.A. Yellow dog Updater, Modified, a package manager for RPM-compatible Linux systems such as CentoS 5/Fedora 7 and RHEL 5. . 阅读全文
posted @ 2011-01-15 16:23 郭—大—侠 阅读(285) 评论(0) 推荐(0)
摘要:Iperf是一个网络性能测试工具。可以测试TCP和UDP带宽质量,可以测量最大TCP带宽,具有多种参数和UDP特性,可以报告带宽,延迟抖动和数据包丢失。Iperf在linux和windows平台均有二进制版本供自由使用。Iperf wasdeveloped by NLANRDAST as a modern alternative for measuringmaximum TCP and UDP bandwidth performance. Iperf allows the tuningof various parameters and UDP characteristics. Iperf re 阅读全文
posted @ 2010-11-01 13:58 郭—大—侠 阅读(1137) 评论(0) 推荐(0)
摘要:YCFHQ9DWCYDKV88T2TMHG7BHP 阅读全文
posted @ 2010-09-01 08:25 郭—大—侠 阅读(1197) 评论(0) 推荐(0)
摘要:昨晚更新Ubuntu,不知道那里搞错了,报了个上述错误:/usr/lib/libgconf2-4/gconf-sanity-check-2的退出状态为256郁闷呀,还以为又要重装呢,在网上找了N个帖子,下面两个操作即可搞定》首先进入recovery模式,之行下述命令,然后重启sudo apt-get install gnome-panelsudo chmod -R 777 /tmp退出后,再进入 ok 解决了! 阅读全文
posted @ 2010-08-29 09:27 郭—大—侠 阅读(826) 评论(0) 推荐(0)
摘要:信息就是位+上下文:我们输入的任何源代码其实本质上都是由0和1组成的位(比特)序列,这些位被组织起来8个一组,成为字节。每个字节都表示程序中的某个文本字符。大部分现代系统都使用ADCII标准来表示文本字符,这种方式实际上就是用一个唯一的字节大小的整数值来表示每个字符。比如最简单的程序from K&R#include <stdio.h>int main(){ printf("hello,world/n");}被翻译成如下:#include <stdio.h>||||35(#) 105(i) 110(n) 99(c) 108(l) 117(u) 阅读全文
posted @ 2010-08-23 22:51 郭—大—侠 阅读(173) 评论(0) 推荐(0)
摘要:解决gedit打开txt文件乱码问题用Configuratio Editor (命令:gconf-editor),修改apps->gedit-2->preferences->encoding中的 auto_detected, 把GB18030,GBK,GB2312等添加进去就行了当然还要将添加的这几项移动到最上面就ok了,当然对于.c .h文件也是可以的!!Good Luck!!解决pdf中文不显示的问题::安装poppler-data,cmap-adobe-cns1和cmap-adobe-gb1打开文件“/etc/fonts/conf.d/49-sansserif.conf 阅读全文
posted @ 2010-08-20 09:03 郭—大—侠 阅读(283) 评论(0) 推荐(0)