update
This commit is contained in:
15
DEV.1.1/CM2/ex1.c
Normal file
15
DEV.1.1/CM2/ex1.c
Normal file
@@ -0,0 +1,15 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
int main(int argc, char *argv[]){
|
||||
struct stat buffer;
|
||||
int i;
|
||||
|
||||
for (i = 0; i < argc; i++){
|
||||
printf("%d\n",argc);
|
||||
}
|
||||
|
||||
taille = strtol(argv)
|
||||
printf("%jd octets\n",buffer.st_size);
|
||||
}
|
Reference in New Issue
Block a user