Ajout des fichiers des séances précédentes
This commit is contained in:
parent
db750e42fa
commit
1533259a4d
644
DEV1.1/DEV1.1bis/TP01/intermediaire.i
Normal file
644
DEV1.1/DEV1.1bis/TP01/intermediaire.i
Normal file
File diff suppressed because it is too large
Load Diff
10
DEV1.1/DEV1.1bis/TP01/salut.c
Normal file
10
DEV1.1/DEV1.1bis/TP01/salut.c
Normal file
@ -0,0 +1,10 @@
|
||||
/* premier programme */
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
int main(void) {
|
||||
printf("Hello World!\n");
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
644
DEV1.1/TP01/DEV1.1bis/DEV1.1/TP01/DEV1.1bis/TP01/intermediaire.i
Normal file
644
DEV1.1/TP01/DEV1.1bis/DEV1.1/TP01/DEV1.1bis/TP01/intermediaire.i
Normal file
File diff suppressed because it is too large
Load Diff
10
DEV1.1/TP01/DEV1.1bis/DEV1.1/TP01/DEV1.1bis/TP01/salut.c
Normal file
10
DEV1.1/TP01/DEV1.1bis/DEV1.1/TP01/DEV1.1bis/TP01/salut.c
Normal file
@ -0,0 +1,10 @@
|
||||
/* premier programme */
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
int main(void) {
|
||||
printf("Hello World!\n");
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
644
DEV1.1/TP01/DEV1.1bis/DEV1.1/TP01/intermediaire.i
Normal file
644
DEV1.1/TP01/DEV1.1bis/DEV1.1/TP01/intermediaire.i
Normal file
File diff suppressed because it is too large
Load Diff
10
DEV1.1/TP01/DEV1.1bis/DEV1.1/TP01/salut.c
Normal file
10
DEV1.1/TP01/DEV1.1bis/DEV1.1/TP01/salut.c
Normal file
@ -0,0 +1,10 @@
|
||||
/* premier programme */
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
int main(void) {
|
||||
printf("Hello World!\n");
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
644
DEV1.1/TP01/DEV1.1bis/TP01/intermediaire.i
Normal file
644
DEV1.1/TP01/DEV1.1bis/TP01/intermediaire.i
Normal file
File diff suppressed because it is too large
Load Diff
10
DEV1.1/TP01/DEV1.1bis/TP01/salut.c
Normal file
10
DEV1.1/TP01/DEV1.1bis/TP01/salut.c
Normal file
@ -0,0 +1,10 @@
|
||||
/* premier programme */
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
int main(void) {
|
||||
printf("Hello World!\n");
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
644
DEV1.1/TP01/intermediaire.i
Normal file
644
DEV1.1/TP01/intermediaire.i
Normal file
File diff suppressed because it is too large
Load Diff
10
DEV1.1/TP01/salut.c
Normal file
10
DEV1.1/TP01/salut.c
Normal file
@ -0,0 +1,10 @@
|
||||
/* premier programme */
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
int main(void) {
|
||||
printf("Hello World!\n");
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
17
DEV1.1/TP03/extraction.c
Normal file
17
DEV1.1/TP03/extraction.c
Normal file
@ -0,0 +1,17 @@
|
||||
# include <stdlib.h>
|
||||
# include <stdio.h>
|
||||
|
||||
int main(void) {
|
||||
char annee1;
|
||||
char annee2;
|
||||
char mois1;
|
||||
char mois2;
|
||||
printf("Quel est votre numéro de sécurité sociale ?\n");
|
||||
getchar();
|
||||
annee1 = getchar();
|
||||
annee2 = getchar();
|
||||
mois1 = getchar();
|
||||
mois2 = getchar();
|
||||
printf("%c%c/%c%c\n", mois1, mois2, annee1, annee2);
|
||||
return EXIT_SUCCESS;
|
||||
}
|
1
DEV1.1/TP03/extraction.txt
Normal file
1
DEV1.1/TP03/extraction.txt
Normal file
@ -0,0 +1 @@
|
||||
# s
|
10
DEV1.1/TP03/minuscule.c
Normal file
10
DEV1.1/TP03/minuscule.c
Normal file
@ -0,0 +1,10 @@
|
||||
/* premier programme */
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
int main(void) {
|
||||
printf("%c", ('a' - 32));
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
22
DEV1.1/TP03/salut.c
Normal file
22
DEV1.1/TP03/salut.c
Normal file
@ -0,0 +1,22 @@
|
||||
/* premier programme */
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
int main(void) {
|
||||
printf("%c", 'H');
|
||||
printf("%c", 'e');
|
||||
printf("%c", 'l');
|
||||
printf("%c", 'l');
|
||||
printf("%c", 'o');
|
||||
printf("%c", ' ');
|
||||
printf("%c", 'w');
|
||||
printf("%c", 'o');
|
||||
printf("%c", 'r');
|
||||
printf("%c", 'l');
|
||||
printf("%c", 'd');
|
||||
printf("%c", '!');
|
||||
printf("%c", '\n');
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
10
DEV1.1/TP03/sept.c
Normal file
10
DEV1.1/TP03/sept.c
Normal file
@ -0,0 +1,10 @@
|
||||
/* premier programme */
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
int main(void) {
|
||||
printf("%c", '\67');
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
10
DEV1.1/TP03/test.c
Normal file
10
DEV1.1/TP03/test.c
Normal file
@ -0,0 +1,10 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
int main(void) {
|
||||
printf("Unicode : %c%c\n", '\xC3', '\xAE');
|
||||
printf("Latin 1 : %c\n", '\xEE');
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
||||
/* On en déduit que le caractère î n'existe pas en Latin 1 */
|
Loading…
Reference in New Issue
Block a user