上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 15 下一页
摘要: Compiling your source code files can be tedious, specially when you want to include several source files and have to type the compiling command everytime you want to do it.Well, I have news for you... Your days of command line compilingare (mostly) over, because YOU will learn how to writeMakefiles. 阅读全文
posted @ 2012-03-12 01:19 Rabbit Nick 阅读(163) 评论(0) 推荐(0) 编辑
摘要: deb 是debian linux 的安装格式,跟red hat 的rpm相似安装: dpkg -i file.deb不过要安装dpkg的package,也可用alien这类软件将package转为rpm等格式,或直接下个rpm 或tar包。关于deb包转换成rpm的方法:sudo apt-get install alien #alien默认没有安装,所以首先要安装它。sudo alien xxxx.rpm #将rpm转换位deb,完成后会生成一个同名的xxxx.deb。sudo dpkg -i xxxx.deb #安装。 阅读全文
posted @ 2012-03-10 18:09 Rabbit Nick 阅读(385) 评论(0) 推荐(0) 编辑
摘要: may I know the meaning or even how to read this: srandom( time( NULL ))?NULLA null pointer. Zero. Points tonothing.time(NULL)The time function returns the currenttimestamp as an integer. Itaccepts an input argument. If theargument is not null, the current timeis stored in it.srandom(time(NULL))The . 阅读全文
posted @ 2012-03-09 11:08 Rabbit Nick 阅读(643) 评论(0) 推荐(0) 编辑
摘要: 昨日在上海,终于见到平日里在网络上指导过我的大牛李工(ps:不知道他喜不喜欢大牛的称号>_<)。与之交谈,我可谓受益良多。李工在电子领域闯荡估计有几十年了,对项目很有一番见解,见到过太多项目的失败,也体会过国中国目前的研发状况十分糟糕。李工信基督教,认为人生就要有一个标杆,一步步向上走,确定目标,完成,再新目标,再努力.......我对这句话很赞同,其实人的一生很简单,匆匆几十年,牛逼一点就100多年,在生命结束的时候,回顾一生,有多少事情是值得自己难忘的呢? 很多时候,我们都不知道自己在干嘛,时间就过去了。错过了很多,确是无法挽回。中国有太多的人,想用最少的努力,换来最多的报酬。 阅读全文
posted @ 2012-03-07 15:54 Rabbit Nick 阅读(205) 评论(0) 推荐(0) 编辑
摘要: Today, I search some papers about the M&M clock recovery and wireless communication demodulation. I download some Chinese masters' or doctors' papers but I always find these papers are writing in CAJviwer which a reading software are widely using in China.However, I work in Linux OS and 阅读全文
posted @ 2012-03-04 13:12 Rabbit Nick 阅读(329) 评论(0) 推荐(0) 编辑
摘要: I will be kind to the weak.I will be brave against the strong.I will fight all who do wrong.I will fight for those who cannot fight.I will help those who call me for help.I will harm no woman.I will help my brother knight.I will be true to my friends.I will be faithful in love.我发誓善待弱者我发誓勇敢地对抗强暴我发誓抗击 阅读全文
posted @ 2012-02-10 00:05 Rabbit Nick 阅读(220) 评论(0) 推荐(0) 编辑
摘要: Linux下stricmp在此作用域中尚未声明解决办法 在使用大小写不敏感函数比较字符串时,很顺手的来了个stricmp,g++编译的时候:错误:‘stricmp’在此作用域中尚未声明。 后来查了一下,stricmp是windows特有的。而linux是strcasecmp,包含在头文件string.h下。问题解决了 阅读全文
posted @ 2012-02-04 03:53 Rabbit Nick 阅读(1266) 评论(0) 推荐(0) 编辑
摘要: C++ can become very difficult to use especially with large projects where you can't see all the variables. Here's a very simple C++ logging class that can take logs for your software without any effort. This will make you a better programmer as you won't have to rely on debuggers like in 阅读全文
posted @ 2012-02-03 13:19 Rabbit Nick 阅读(578) 评论(0) 推荐(0) 编辑
摘要: 原文地址:网上英语聊天缩写集作者:周虎国际经常在网上和老外聊天,那些鬼佬非常懒,经常只用非常简单的缩写,有时还真不知道什么意思。现在我就把网上聊天的所有所写收集在一起.这些缩写非常的有意思。很多都是我们最爱用的不干不净的话!估计很多人非常喜欢。Here we go:---问好---1,hiho=hola=yo=hi=hey=hellow=你好,大家好2,wuz up=sup=what'sup=(原意:怎么样你?/有什么事儿嘛?)也可作为问好用(当然是比较熟的两个人之间的问候),回答时有事说事,没事用"nothing/nothinmuch/not much/nm等回答就可以。- 阅读全文
posted @ 2011-12-04 22:30 Rabbit Nick 阅读(567) 评论(0) 推荐(0) 编辑
摘要: alarm(设置信号传送闹钟)相关函数 signal,sleep表头文件#include定义函数 unsigned int alarm(unsigned intseconds);函数说明alarm()用来设置信号SIGALRM在经过参数seconds指定的秒数后传送给目前的进程。如果参数seconds为0,则之前设置的闹钟会被取消,并将剩下的时间返回。返回值返回之前闹钟的剩余秒数,如果之前未设闹钟则返回0。范例#include#includevoid handler() {printf("hello\n");}main(){int i;signal(SIGALRM,hand 阅读全文
posted @ 2011-11-24 03:00 Rabbit Nick 阅读(230) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 15 下一页