昨天我的精神上已经进入linux编程的世界。
jedit is programmer's editor, and linux is programmer's os.
从来没太多试过linux下c编程的我。
yesterday, i build gcc4.0 successfully on my fc2.(spend anout 3 hours on my pc)
i even successfully write a PAM auth application and get cpu use rate using glibtop.
当你对linux一无所知的情况下,借助opensource的力量,可以做很多事。
昨天取得cpu使用率的程序就是一个例子。
1. find a existing program has the prefer function.
2. find the source of the program.
3. copy the source implements the function into your own program and modify it.
4. gcc it and test.
就是这么简单。
以后会更加精通的吧。
-----
没有评论:
发表评论