repositories
/
TD_C.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
TP11 exo3: Push the trivial implementation
[TD_C.git]
/
TP_11
/
exo3
/
exo3.c
diff --git a/TP_11/exo3/exo3.c
b/TP_11/exo3/exo3.c
new file mode 100644
(file)
index 0000000..
414e382
--- /dev/null
+++ b/
TP_11/exo3/exo3.c
@@ -0,0
+1,10
@@
+#include <stdio.h>
+
+int main(int argc, char* argv[], char** envp) {
+ printf("argc=%d\n", argc);
+ for (int i = 0; i < argc; i++) {
+ printf("argv[%d]=\"%s\"\n", i, argv[i]);
+ }
+
+ return 0;
+}