问汝平生功业,黄州惠州儋州
今天要给slackware打个补丁,结果想不起来slackware的版本了,然后google 和百度了linux 版本查看,slackware 版本查看,均没有找到合适的方法,后来自己进了/etc,发现了一个slackware_version的文件。然后cat之就OK了。
用emacs记录了很多笔记,自己也不知道放哪儿,要想按内容搜索,一直不好使,后来没办法装了goole桌面。但是google桌面是整个电脑硬盘都搜索,有时候效率不高。今天换了emacs23.2版本,无意中发现了解决办法,如下。
呃,自己学着别人那样用C语言编程序,然后,编译的时候出现这个错误 redefinition of 'struct 。。。
今天编程用switch发现一个问题,算了,先贴源程序再说问题吧。
为了简化编程,有时候需要通过execl执行脚本,而不是执行编译出来的二进制文件,然后,然后,执行脚本的时候出现了一个让我很跳脚的问题。