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 .