From d9664f56ac30c12e9928cc21ebb72e9c4722457f Mon Sep 17 00:00:00 2001 From: moogin Date: Mon, 2 Dec 2024 09:38:04 +0100 Subject: [PATCH] push --- DEV1.1/{ => partie_1}/adress.c | 0 DEV1.1/{ => partie_1}/base.c | 0 DEV1.1/{ => partie_1}/biblio_math.c | 0 DEV1.1/{ => partie_1}/chaine.c | 0 DEV1.1/{ => partie_1}/condition.c | 0 DEV1.1/{ => partie_1}/debogueur.c | 0 DEV1.1/partie_1/fichier.c | 18 +++++++ DEV1.1/{ => partie_1}/fonction.c | 0 DEV1.1/{ => partie_1}/reels.c | 0 DEV1.1/partie_2/Makefile | 41 ++++++++++++++++ DEV1.1/top10 | Bin 0 -> 70 bytes DEV1.2/TP01/exo0.html | 12 +++++ DEV1.2/TP01/exo1.html | 19 ++++++++ DEV1.2/TP01/exo2.html | 43 +++++++++++++++++ DEV1.2/TP01/exo3.html | 28 +++++++++++ DEV1.2/TP01/exo4.html | 31 ++++++++++++ DEV1.2/TP02/exo1.html | 44 +++++++++++++++++ DEV1.2/TP02/exo2.html | 72 ++++++++++++++++++++++++++++ DEV1.2/exo0.html | 12 +++++ DEV1.2/exo1.html | 19 ++++++++ DEV1.2/exo2.html | 43 +++++++++++++++++ DEV1.2/exo3.html | 28 +++++++++++ DEV1.2/exo4.html | 31 ++++++++++++ 23 files changed, 441 insertions(+) rename DEV1.1/{ => partie_1}/adress.c (100%) rename DEV1.1/{ => partie_1}/base.c (100%) rename DEV1.1/{ => partie_1}/biblio_math.c (100%) rename DEV1.1/{ => partie_1}/chaine.c (100%) rename DEV1.1/{ => partie_1}/condition.c (100%) rename DEV1.1/{ => partie_1}/debogueur.c (100%) create mode 100644 DEV1.1/partie_1/fichier.c rename DEV1.1/{ => partie_1}/fonction.c (100%) rename DEV1.1/{ => partie_1}/reels.c (100%) create mode 100644 DEV1.1/partie_2/Makefile create mode 100644 DEV1.1/top10 create mode 100644 DEV1.2/TP01/exo0.html create mode 100644 DEV1.2/TP01/exo1.html create mode 100644 DEV1.2/TP01/exo2.html create mode 100644 DEV1.2/TP01/exo3.html create mode 100644 DEV1.2/TP01/exo4.html create mode 100644 DEV1.2/TP02/exo1.html create mode 100644 DEV1.2/TP02/exo2.html create mode 100644 DEV1.2/exo0.html create mode 100644 DEV1.2/exo1.html create mode 100644 DEV1.2/exo2.html create mode 100644 DEV1.2/exo3.html create mode 100644 DEV1.2/exo4.html diff --git a/DEV1.1/adress.c b/DEV1.1/partie_1/adress.c similarity index 100% rename from DEV1.1/adress.c rename to DEV1.1/partie_1/adress.c diff --git a/DEV1.1/base.c b/DEV1.1/partie_1/base.c similarity index 100% rename from DEV1.1/base.c rename to DEV1.1/partie_1/base.c diff --git a/DEV1.1/biblio_math.c b/DEV1.1/partie_1/biblio_math.c similarity index 100% rename from DEV1.1/biblio_math.c rename to DEV1.1/partie_1/biblio_math.c diff --git a/DEV1.1/chaine.c b/DEV1.1/partie_1/chaine.c similarity index 100% rename from DEV1.1/chaine.c rename to DEV1.1/partie_1/chaine.c diff --git a/DEV1.1/condition.c b/DEV1.1/partie_1/condition.c similarity index 100% rename from DEV1.1/condition.c rename to DEV1.1/partie_1/condition.c diff --git a/DEV1.1/debogueur.c b/DEV1.1/partie_1/debogueur.c similarity index 100% rename from DEV1.1/debogueur.c rename to DEV1.1/partie_1/debogueur.c diff --git a/DEV1.1/partie_1/fichier.c b/DEV1.1/partie_1/fichier.c new file mode 100644 index 0000000..f53cd98 --- /dev/null +++ b/DEV1.1/partie_1/fichier.c @@ -0,0 +1,18 @@ +#define +#define + + +int main(void){ + FILE* flux; + char tab[3]; + int valeur; + + flux = fopen("top10.bin", "r"); + SIZE-t lu; + + if(flux == NULL){ + return EXIT_FAILURE; + } + + lecture = fread() +} \ No newline at end of file diff --git a/DEV1.1/fonction.c b/DEV1.1/partie_1/fonction.c similarity index 100% rename from DEV1.1/fonction.c rename to DEV1.1/partie_1/fonction.c diff --git a/DEV1.1/reels.c b/DEV1.1/partie_1/reels.c similarity index 100% rename from DEV1.1/reels.c rename to DEV1.1/partie_1/reels.c diff --git a/DEV1.1/partie_2/Makefile b/DEV1.1/partie_2/Makefile new file mode 100644 index 0000000..dec9b35 --- /dev/null +++ b/DEV1.1/partie_2/Makefile @@ -0,0 +1,41 @@ +# ceci est un makefile témoins +CC = gcc +CFLAGS = -Wall -Wextra -pedantic -std=c89 + + +# Liste des fichiers objets +OBJS = main.o interface.o utils.o blocus.o boutons.o + +# Nom de l'exécutable +EXEC = jeu + +# Règle par défaut pour compiler tout le projet +all: $(EXEC) + +# Règle de création de l'exécutable +$(EXEC): $(OBJS) + $(CC) -o $(EXEC) $(OBJS) $(LDFLAGS) $(INCLUDES) + +# Règles de compilation pour chaque fichier source +main.o: src/main.c include/interface.h include/utils.h include/blocus.h include/boutons.h + $(CC) $(CFLAGS) -c src/main.c $(INCLUDES) + +interface.o: src/interface.c include/interface.h + $(CC) $(CFLAGS) -c src/interface.c $(INCLUDES) + +utils.o: src/utils.c include/utils.h + $(CC) $(CFLAGS) -c src/utils.c $(INCLUDES) + +blocus.o: src/blocus.c include/blocus.h + $(CC) $(CFLAGS) -c src/blocus.c $(INCLUDES) + +boutons.o: src/boutons.c include/boutons.h + $(CC) $(CFLAGS) -c src/boutons.c $(INCLUDES) + +# Règle pour exécuter le programme +run: $(EXEC) + ./$(EXEC) + +# Règle pour nettoyer les fichiers objets et l'exécutable +clean: + rm -f $(OBJS) $(EXEC) \ No newline at end of file diff --git a/DEV1.1/top10 b/DEV1.1/top10 new file mode 100644 index 0000000000000000000000000000000000000000..f6c571a816785dc8c14743ba17b4674c55b4c5ea GIT binary patch literal 70 zcmXqZ@nUfDce*U>#bD!ar&6QN5R + + + <meta charset="utf-8"> + + +

My first HTML5 document

+ +

HTML5 est vraiment super !

+ + + + + + + +exo1 + + +

W3C

+

Le W3C est un consortium créé le par Tim Berners-Lee, principal +inventeur du World Wide Web en , pour promouvoir la compatibilité et donc +la normalisation des technologies du World Wide Web. Avant le W3C, c'était l'IETF, +un autre organisme important de l'Internet, qui était en charge de cette mission.

+ +

Le W3C a par exemple standardisé les technologies HTML et XML.

+ + diff --git a/DEV1.2/TP01/exo2.html b/DEV1.2/TP01/exo2.html new file mode 100644 index 0000000..a3fb0d2 --- /dev/null +++ b/DEV1.2/TP01/exo2.html @@ -0,0 +1,43 @@ + + + + + + + + exo2 + + +

Emoticons

+ +

Emoticons are textual portrayals of a writer's moods or facial +expressions in the form of icons. Originally, these icons +consisted of ASCII art.

+ +

Emoticons can generally be divided into two groups: Western (mainly +from America and Europe) or horizontal; Eastern or vertical (mainly +from east Asia).

+ +

Western

+ +

Western style emoticons are mostly written from left to right as +though the head is rotated counter-clockwise 90 degrees.

+ +

Smiley: :‑) :->

+

Tongue-tied: :‑&

+

Broken heart: <\3

+

Rose: @}->--

+

Fish: ><(((*>

+ +

Eastern

+ +

Eastern emoticons generally are not rotated sideways. They first +arose in Japan, where they are referred to as kaomoji.

+ +

Troubled: (>_<)

+

Sad: ("_")

+

Cat: (=^·^=)

+

Headphones: ((d[-_-]b))

+

surprised: (°-°)

+ + diff --git a/DEV1.2/TP01/exo3.html b/DEV1.2/TP01/exo3.html new file mode 100644 index 0000000..ff43283 --- /dev/null +++ b/DEV1.2/TP01/exo3.html @@ -0,0 +1,28 @@ + + + + + + + + exo3 + + +

TOP 5 de mes sites

+
    +
  1. youtube : allez vous abonnez!!!
  2. +
  3. anime sama : lisez berserk
  4. +
  5. twitch : allez vous sub!!!
  6. +
+ + + +
+
discord : pour la comunication en ligne
+
discord
+
+ + + \ No newline at end of file diff --git a/DEV1.2/TP01/exo4.html b/DEV1.2/TP01/exo4.html new file mode 100644 index 0000000..6ac3c89 --- /dev/null +++ b/DEV1.2/TP01/exo4.html @@ -0,0 +1,31 @@ + + + + + + + + exo4 + + +

Orbites des planètes du Système solaire

+

Planète;Distance moyenne (UA);Exentricité ;Inclinaison (°);Période de révolution (an)

+ + + + + + + + + + + + + + + + +

Planète

Distance moyenne (UA)

Inclinaison (°)periode de revolution (an)photo
Venus0,723331990,0073,40.615
+ + \ No newline at end of file diff --git a/DEV1.2/TP02/exo1.html b/DEV1.2/TP02/exo1.html new file mode 100644 index 0000000..ec7275a --- /dev/null +++ b/DEV1.2/TP02/exo1.html @@ -0,0 +1,44 @@ + + + + + + + exo1 + + + partie 1
+ partie 2
+ partie 3
+

Mon arcticle de blog

+

Ma première partie

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris congue vehicula fermentum. Sed dapibus massa eget odio tempus, eu dapibus mi gravida. Donec posuere tincidunt molestie. Donec pellentesque, quam sed vulputate gravida, mauris risus consequat est, nec posuere erat tellus at neque. Fusce id odio quis velit semper tempor quis vel nulla. Sed id ultricies justo. Aliquam dapibus arcu sit amet lectus molestie cursus. Donec lobortis, leo ut vulputate eleifend, mauris lectus suscipit augue, nec vestibulum odio metus in nunc. Mauris eros enim, fringilla quis orci at, dignissim rutrum risus.

+ +Curabitur vehicula volutpat urna in pretium. Phasellus vel neque aliquet, ullamcorper metus sit amet, porttitor justo. Duis ultrices, nisi quis finibus bibendum, leo dui tempor eros, sed pharetra ligula dolor vitae felis. In at semper lorem. Donec ipsum enim, euismod vitae nulla vitae, semper feugiat lorem. Integer blandit diam et diam vehicula tempor. Quisque nec aliquet ligula, eu maximus mi. Nullam mauris ante, venenatis vel nibh eu, commodo luctus ex. Vestibulum volutpat vehicula risus non semper. Duis eu porttitor orci. Vestibulum sapien nibh, egestas vitae mi vitae, congue egestas diam. Fusce viverra magna justo, vel maximus libero finibus ac.

+ +Vivamus convallis molestie condimentum. Nulla vel maximus lorem. Phasellus eu elit laoreet, consequat urna eu, dapibus est. Curabitur cursus tempor tellus quis pulvinar. Curabitur dignissim enim neque, vitae luctus lectus dapibus sit amet. Donec ex massa, congue in venenatis in, cursus non magna. In luctus risus a nulla gravida pellentesque. Nunc libero nibh, convallis a nisi vitae, rutrum suscipit justo. Vivamus non arcu commodo, convallis lectus quis, ultricies elit. Vivamus volutpat augue sit amet euismod bibendum. Phasellus a dolor sem. Duis vel pretium nunc. Sed vitae accumsan elit. Donec justo ante, dictum sed aliquet non, tincidunt sed enim.

+ +Donec molestie congue quam nec facilisis. Phasellus tempor, tortor in aliquet varius, nibh felis gravida urna, finibus euismod lectus ipsum in mi. Integer non ullamcorper nisi. Aenean at massa at ex mollis porttitor in sed augue. Aliquam vel cursus arcu. Morbi posuere euismod vestibulum. In suscipit ipsum sed magna ullamcorper maximus. Pellentesque mattis leo nibh, sed gravida turpis sagittis in. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Maecenas volutpat blandit ex fermentum sodales. Aenean dapibus odio et mattis consectetur. Proin eu.

+ +

Ma deuxième partie

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer vestibulum mi sit amet ligula pulvinar condimentum. Proin sit amet luctus tellus. Curabitur ac nunc ut massa volutpat porttitor ac non erat. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam tristique sollicitudin felis, ac imperdiet lacus molestie a. Quisque nec leo quis sem posuere scelerisque. Mauris sagittis cursus dictum. Morbi id eleifend tellus. Suspendisse sed magna et enim consequat iaculis. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Ut aliquam est in mollis feugiat. Phasellus at efficitur erat. Aenean et est interdum tortor pellentesque suscipit. Maecenas ac lectus faucibus diam interdum congue.

+ +Curabitur laoreet ornare volutpat. Morbi luctus lacinia risus a dictum. Duis sagittis vitae justo nec mollis. Curabitur a molestie nisi, non facilisis magna. Praesent et rhoncus eros. Sed semper odio at magna scelerisque facilisis a ac ligula. Phasellus congue quam sed pretium consequat. Nunc sagittis metus ac molestie scelerisque. Cras ac augue non purus pretium tempus at ultricies felis. Praesent sit amet gravida mauris, ac tempor dolor. Sed ac turpis vehicula, tempor elit quis, dapibus purus.

+ +Donec tincidunt, eros at dignissim fringilla, velit nunc facilisis ipsum, eget maximus est dui non neque. Curabitur imperdiet suscipit metus, ut convallis dui consectetur a. Ut id posuere arcu. Cras sagittis rutrum libero, ut interdum ligula interdum quis. Vivamus at mauris ut libero blandit condimentum. Morbi gravida odio a malesuada luctus. Quisque eget elit enim. Maecenas vehicula blandit purus quis feugiat. Suspendisse suscipit ligula at nunc semper porttitor.

+ +Vivamus accumsan, odio a faucibus malesuada, lectus felis molestie est, at venenatis felis justo nec ante. Etiam suscipit ullamcorper tortor eu sagittis. Duis id nulla iaculis, venenatis diam sit amet, bibendum dui. Donec tincidunt arcu libero, at volutpat mi elementum et. Nullam aliquet viverra dictum. Curabitur ac urna quis lorem sollicitudin egestas. Mauris vehicula suscipit varius. Morbi lobortis diam eu neque suscipit pretium. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Integer sit amet nulla venenatis, sodales sapien non, porta leo. Aliquam lobortis arcu lectus, nec sagittis risus ullamcorper quis. Curabitur fringilla nulla et neque lobortis tempus. Donec sed massa ac felis aliquam sagittis a vitae odio. Vestibulum eget gravida mi. Nullam pretium, quam sed rutrum porttitor, neque lectus placerat nisl, nec efficitur diam odio at dui. Morbi eu lacus ac nulla tristique dapibus.

+ +Phasellus magna sem, ullamcorper eget purus quis, porttitor lacinia risus. Maecenas mattis ac tortor id dictum. Vivamus lacinia diam eu cursus hendrerit est.

+ +

Ma troisième partie

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent eget metus malesuada, convallis massa quis, varius leo. Vestibulum accumsan mauris vel tellus accumsan, sit amet imperdiet neque vehicula. Donec sed dui ac leo pharetra fringilla a eu nibh. Nam sagittis vitae orci ac efficitur. Proin non nulla lectus. Etiam id dapibus felis, at imperdiet nulla. Aliquam erat volutpat. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla gravida magna nec iaculis iaculis. Integer tempor molestie ante, in tempus neque fringilla a. Phasellus vestibulum arcu turpis, in viverra eros laoreet a.

+ +Cras ultrices massa non vulputate dapibus. Mauris suscipit, odio nec sollicitudin tincidunt, risus lacus ultrices risus, et consectetur ex libero et nunc. Nulla accumsan, magna eget efficitur porttitor, magna velit ullamcorper erat, in cursus turpis nibh id purus. Nulla vulputate eget eros sit amet tincidunt. Mauris nulla enim, fermentum rutrum erat at, lobortis lacinia sapien. Mauris massa dolor, euismod in ipsum vitae, commodo semper ligula. Praesent tincidunt lacus vitae sapien tempor, non egestas erat rhoncus. In velit libero, tincidunt ac aliquet pharetra, interdum et odio. Sed vel tincidunt ipsum. Proin vestibulum neque nec orci molestie, sit amet faucibus ex mollis. Praesent ac feugiat tortor, et tincidunt magna. Etiam gravida dignissim lectus a volutpat.

+ +Aenean non massa eu tellus tempus gravida. Sed vitae est arcu. Vivamus ac lacus arcu. Pellentesque iaculis nisi velit, in rutrum nibh placerat ut. Nam sit amet massa blandit massa maximus mollis. Phasellus non convallis odio. Nunc magna sem, finibus a turpis sed, finibus scelerisque quam. Donec nec tempor sapien. Mauris aliquet et turpis id ultrices.

+ +Duis semper, tortor non pellentesque pulvinar, libero ex elementum odio, ac finibus risus orci in augue. Vestibulum viverra eros nulla, a blandit lorem gravida vel. Proin feugiat rutrum sapien, vel iaculis mi tincidunt posuere. Vestibulum sed porta diam. Duis ex dui mauris.

+ + + diff --git a/DEV1.2/TP02/exo2.html b/DEV1.2/TP02/exo2.html new file mode 100644 index 0000000..98571b2 --- /dev/null +++ b/DEV1.2/TP02/exo2.html @@ -0,0 +1,72 @@ + + + + + + + exo2 + + +
+
    + +
+
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + choisissez votre sexe +
      +
    • + + +
    • +
    • + + +
    • +
    +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • +
    + + \ No newline at end of file diff --git a/DEV1.2/exo0.html b/DEV1.2/exo0.html new file mode 100644 index 0000000..8db0bde --- /dev/null +++ b/DEV1.2/exo0.html @@ -0,0 +1,12 @@ + + + + <meta charset="utf-8"> + + +

    My first HTML5 document

    + +

    HTML5 est vraiment super !

    + + + + + + + +exo1 + + +

    W3C

    +

    Le W3C est un consortium créé le par Tim Berners-Lee, principal +inventeur du World Wide Web en , pour promouvoir la compatibilité et donc +la normalisation des technologies du World Wide Web. Avant le W3C, c'était l'IETF, +un autre organisme important de l'Internet, qui était en charge de cette mission.

    + +

    Le W3C a par exemple standardisé les technologies HTML et XML.

    + + diff --git a/DEV1.2/exo2.html b/DEV1.2/exo2.html new file mode 100644 index 0000000..a3fb0d2 --- /dev/null +++ b/DEV1.2/exo2.html @@ -0,0 +1,43 @@ + + + + + + + + exo2 + + +

    Emoticons

    + +

    Emoticons are textual portrayals of a writer's moods or facial +expressions in the form of icons. Originally, these icons +consisted of ASCII art.

    + +

    Emoticons can generally be divided into two groups: Western (mainly +from America and Europe) or horizontal; Eastern or vertical (mainly +from east Asia).

    + +

    Western

    + +

    Western style emoticons are mostly written from left to right as +though the head is rotated counter-clockwise 90 degrees.

    + +

    Smiley: :‑) :->

    +

    Tongue-tied: :‑&

    +

    Broken heart: <\3

    +

    Rose: @}->--

    +

    Fish: ><(((*>

    + +

    Eastern

    + +

    Eastern emoticons generally are not rotated sideways. They first +arose in Japan, where they are referred to as kaomoji.

    + +

    Troubled: (>_<)

    +

    Sad: ("_")

    +

    Cat: (=^·^=)

    +

    Headphones: ((d[-_-]b))

    +

    surprised: (°-°)

    + + diff --git a/DEV1.2/exo3.html b/DEV1.2/exo3.html new file mode 100644 index 0000000..ff43283 --- /dev/null +++ b/DEV1.2/exo3.html @@ -0,0 +1,28 @@ + + + + + + + + exo3 + + +

    TOP 5 de mes sites

    +
      +
    1. youtube : allez vous abonnez!!!
    2. +
    3. anime sama : lisez berserk
    4. +
    5. twitch : allez vous sub!!!
    6. +
    + + + +
    +
    discord : pour la comunication en ligne
    +
    discord
    +
    + + + \ No newline at end of file diff --git a/DEV1.2/exo4.html b/DEV1.2/exo4.html new file mode 100644 index 0000000..6ac3c89 --- /dev/null +++ b/DEV1.2/exo4.html @@ -0,0 +1,31 @@ + + + + + + + + exo4 + + +

    Orbites des planètes du Système solaire

    +

    Planète;Distance moyenne (UA);Exentricité ;Inclinaison (°);Période de révolution (an)

    + + + + + + + + + + + + + + + + +

    Planète

    Distance moyenne (UA)

    Inclinaison (°)periode de revolution (an)photo
    Venus0,723331990,0073,40.615
    + + \ No newline at end of file