This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
programming:c [2021/04/07 02:51] nanodano |
programming:c [2021/04/15 20:23] (current) nanodano |
||
|---|---|---|---|
| Line 83: | Line 83: | ||
| ==== working with time, sleep, dates ==== | ==== working with time, sleep, dates ==== | ||
| + | |||
| + | <code c sleep.c> | ||
| + | #include < | ||
| + | |||
| + | int main(int argc, char **argv) { | ||
| + | sleep(2); | ||
| + | return(0); | ||
| + | } | ||
| + | </ | ||
| ==== malloc and free ==== | ==== malloc and free ==== | ||