repositories
/
TD_IML.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Implement fully the latest TD1's exercice
[TD_IML.git]
/
TD1
/
part_three
/
balle
/
balle.c
diff --git
a/TD1/part_three/balle/balle.c
b/TD1/part_three/balle/balle.c
index 7881ec5a4b48b65f56d52031f5d7917a7c771c83..15b351b373a47e26202abb2a4d0b8eed3ce80941 100644
(file)
--- a/
TD1/part_three/balle/balle.c
+++ b/
TD1/part_three/balle/balle.c
@@
-10,11
+10,11
@@
int main() {
srand(time(NULL));
- int rand
V
alue = rand() % 5 + 1;
+ int rand
v
alue = rand() % 5 + 1;
printf("[%d] Je suis la balle et je vole\n", getpid());
- sleep(rand
V
alue);
+ sleep(rand
v
alue);
- return
EXIT_SUCCESS
;
+ return
randvalue
;
}