15th
Nov
2008
09:09 PM Category:C/C++3篇
C语言的函数指针还真是诡异啊,下面四个代码都能正常运行。。C 难得把语法放的这么宽,写下来以示纪念...
CODE
#include<stdio.h>

void haha()
{
    printf("haha\n");
}

int main()
{
    void(*func)();
    func =
......
阅读(40) | 评论(2) 
15th
Nov
2008
10:10 AM Category:Linux13篇
LinuxQQ终于出新版了,前两天短不了上腾讯看,今天终于等到了。

说说新功能吧~首先是文件传输,解决了大问题。屏幕截图也很出现了,总算有点正宗qq的感觉。

不过,额...用qq木有声音,这个ms解决起来不是很难吧...期待下一版能得到相应解决~

......
阅读(26) | 评论(6) 
6th
Nov
2008
11:11 PM Category:汇编1篇
汇编确实够傻,平时百用不爽的类似 printf("%d\n",i)输出数字竟找不到现成的实现...汇编系统调用默认输出的是其ASCII码...

输出数字,在学习编程语言的时候还是经常用到的,比如比较个大小,排个序...一时间不能输出,郁闷至极,遂写个程序实现 有符号整形 的输出。因为学习汇编不久,像宏的实现,函数的调用当作练手之用都堆了上去,所以程序显得比较臃肿、业余。......
阅读(60) | 评论(9) 
2nd
Nov
2008
10:10 PM Category:APUE6篇
As eople say, the old signal() had number of problems:1. The disposition for a signal was automatically reset to its defualt each time the signal occured. So we had to reestablish the handler on catc......
阅读(58) | 评论(4) 
26th
Oct
2008
10:10 PM Category:APUE6篇
Linux 中有一种“死不瞑目”的进程,叫僵死进程(zombie)。一句话定义僵死进程:In UNIX System terminology, a process that has terminated, but whose parent has not yet waited for it, is called a zombie. 这些进程可以通过 ps 命令查看:ps -......
阅读(137) | 评论(3) 
25th
Oct
2008
11:11 AM Category:Linux13篇
永中Office出了2009个人集成版,而且完全免费使用~最主要,它有Linux平台的版本

今天有空,在SuSE下装之。功能 字体感觉比OpenOffice要好,估计在Win下可以取代MS Office了,嘿嘿。。。

SuSE安装步骤:
1.在http://www.evermoresw.com.cn/webch/download/downEIOPersonal.jsp下载Linux版本

2,解......
阅读(183) | 评论(8) 
22nd
Oct
2008
08:08 PM Category:shell5篇
一文件,格式如下:
192.168.1.1    command1
192.168.1.2    command2
192.168.1.3    command3
192.168.1.4    command4
..........

第一列是写主机IP列表,第二列是不同的命令
现在求的脚本要实现这样的功......
阅读(85) | 评论(3) 
20th
Oct
2008
10:10 PM Category:生活杂谈15篇

最近参加活动的讲座都是英文,听起来蛮吃力...有时候别人听懂了在那笑,我却想哭。。。

听力不地,口语也受影响...和老外说英语很尴尬,有时干脆和他讲中文。。。
从今天起,开始听英语新闻,看些口语资料,有机会也和同学说两句。


1. I see. 我明白了。

2. I quit! 我不干了!

3. Let go! 放手!

4. Me too. 我也是。

5. My god! 天哪!

6. No way! 不行

......
阅读(85) | 评论(14) 
18th
Oct
2008
11:11 PM Category:APUE6篇
阅读(103) | 评论(3) 
17th
Oct
2008
05:05 PM Category:APUE6篇
File system
Super
Block
Group
Descriptors
Block
Group 1
Block
Group 2
...
...
Block
Group N

Block
Bitmap
Inode
......
阅读(69) | 评论(4) 
16th
Oct
2008
05:05 PM Category:APUE6篇
Today encountered asterisk (*) when refering the printf() function. I met with it long long ago, but what it is has gone away from my mind absolutely...What the man said about the asterisk (*) is as t

......
阅读(85) | 评论(1) 
14th
Oct
2008
09:09 PM Category:APUE6篇
When we described the creation of a new file using either open or creat, we never said what values were assigned to the user ID and group ID of the new file. We'll see how to create a new directory w
......
阅读(75) | 评论(4) 
12th
Oct
2008
03:03 PM Category:Linux13篇
最近做了些备份工作,实话说,rsync很好用~ 这里把常用的 scp 和 rsync 的用法一起介绍下

scp的备份:

需求:异地主机建立安全的信任关系,用scp自动完成异地文件的定时copy

1、在A机器上用root运行ssh-keygen,将生成/
root/.ssh/identity和/root/.ssh/identity.pub两个文件;

2、在A机器上运行scp 
......
阅读(96) | 评论(2) 
12th
Oct
2008
10:10 AM Category:生活杂谈15篇
十一搞 LFS 险险吐掉,一堆的编译测试,耗时费力,而且感觉没啥技术含量,完全不如看几页 APUE。还有很重要的一点,十一感冒了,而且被我归罪于搞 LFS 疲劳过度......  进了 SuSE 马上就回想起当时chroot 后折腾 LFS 的惨状...  干脆离开Linux 一周吧,或者说拥抱XP 一周,其实已经如是4天了。。。

说到LFS,应该是DIY程度最高的一款Lin......
阅读(82) | 评论(5) 
8th
Oct
2008
10:10 PM Category:生活杂谈15篇

今天是很YD的一天...本来感冒不想写东西,现在看来,不写点对不起这些事儿...

sanding 的选修课很紧张,10学分的任务只修了6学分...这个学期咬牙要选一门理科类,省着后面吃紧。很久很久以前我就报了“竞争情报”的初选,这是任务性的。后来又加了门理工类的“操作系统”,兴趣而已,过不过无所谓。今天上“操作系统”,

......
阅读(100) | 评论(11) 
Sanding

职业:学生
年龄:20
订阅文章
feedsky
google reader
抓虾
鲜果
my yahoo
bloglines
pageflakes
有道
日历
<
<<
>>
>
文章分类
我的文章
Linux
    Linux tricks
C/C++
shell
    awk
Open Source
OpenSolaris
APUE
汇编
web
森田疗法
生活杂谈
Apache
IT新闻
相册分类
我的相册
本blog的表情
最新评论
Sanding on the article 新版Linux qq
Sanding on the article 新版Linux qq
Sanding on the article 新版Linux qq
Dianso on the article 新版Linux qq
穷人 on the article 新版Linux qq
jKey on the article 新版Linux qq
on the article 汇编 输出数字
BlogUpp