Daily record

This is a long day ......I felt very tired in the morning . Because I merely rested in last weekend and it's Monday today!

It's normal to feel tired after weekend ? Well , I thought it depends on people's habbit. Different people have different

schedule for weekend . All right , let me stop here ......大笑

No new algorithm was taught today . The teacher only talked about the homework of last week . After she explained

some exercises , I found out that my mind was too simple . I did not consider a problem carefully enough . I just

looked at the surface of the problem , and then missed the important part of the clues hided in the problem. 

Everything is not always as simple as it looks like .   One of the book borrowed from the library was finally opend

today . Though I did not read too much , but a good beginning is half done , right ?

I did not learn much today . Oh ! I wasted a day again ...... But I want share some Linux stuffs here.

While you want to find a C function's prototype in Linux , you could use the command : man functionName,which

looks like this :

[root@localhost lab4]# man open

What if a function's name equls to a Linux's shell command ? Then , you can add a parameter after man ,here is the

code:

[root@localhost lab4]# man 2 write

Then the write function's description will show up to you .

Another tip is , when you want to see the line number in vim editor , what you need to do is typing :set nu ,after

which the line numbers will be placed in front of each line .

In Linux , we can use sleep(int seconds)  to make a program to sleep for given parameter time. For more

informations about this function ,use "man" to check out . Time passes so fast that I can't event grab a moment to

hold in my hands . Fellows , do not waste your time , read more books and never afraid to try to find out your gifts .

Hope you have a good dream .

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值