Update c-language-challenge.md
This commit is contained in:
parent
01eeac0ea8
commit
c98fc0385f
1 changed files with 31 additions and 1 deletions
|
|
@ -9,6 +9,22 @@ If you have an idea, please send me pull-request.
|
||||||
* pnpbios
|
* pnpbios
|
||||||
* Writing your own daemon, your own PAM module, writing a custom network interface, writing your own shell
|
* Writing your own daemon, your own PAM module, writing a custom network interface, writing your own shell
|
||||||
|
|
||||||
|
topics:
|
||||||
|
* file IO
|
||||||
|
* creating ls
|
||||||
|
* concurrent
|
||||||
|
* network
|
||||||
|
* making chatting program
|
||||||
|
* memory
|
||||||
|
* make pool-based memory allocator
|
||||||
|
* error handling
|
||||||
|
* toolchain: preprocessor, compiler, linker
|
||||||
|
* cache
|
||||||
|
* assembly
|
||||||
|
* performance
|
||||||
|
* syncronization
|
||||||
|
|
||||||
|
|
||||||
# task01
|
# task01
|
||||||
|
|
||||||
Use argc and argv to print "Hello world!".
|
Use argc and argv to print "Hello world!".
|
||||||
|
|
@ -19,6 +35,19 @@ $ print 3 "Hello world!"
|
||||||
2 Hello world!
|
2 Hello world!
|
||||||
3 Hello world!
|
3 Hello world!
|
||||||
```
|
```
|
||||||
|
|
||||||
|
# task??
|
||||||
|
|
||||||
|
maks ls tools and do command argument parsing with getopt, getopt_long
|
||||||
|
* options: -l, -a
|
||||||
|
|
||||||
|
# task??
|
||||||
|
|
||||||
|
create threads to increase value of one variable:
|
||||||
|
* no locking
|
||||||
|
* atomic value
|
||||||
|
* value protected-by synchronization
|
||||||
|
|
||||||
# task??
|
# task??
|
||||||
|
|
||||||
Make a daemon that log a message "I'm running" every minute.
|
Make a daemon that log a message "I'm running" every minute.
|
||||||
|
|
@ -60,12 +89,13 @@ serial: abcd-defg-xxxx-xxxx <input>
|
||||||
account: 1234
|
account: 1234
|
||||||
name: gogostar
|
name: gogostar
|
||||||
product: 5678
|
product: 5678
|
||||||
````
|
```
|
||||||
|
|
||||||
# task20
|
# task20
|
||||||
|
|
||||||
make your own shell
|
make your own shell
|
||||||
* features
|
* features
|
||||||
* pipe, indirection
|
* pipe, indirection
|
||||||
|
* background running
|
||||||
* design
|
* design
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue