diff --git a/DEV.1.1/cours-java/1 La compilation.docx b/DEV.1.1/cours-java/1 La compilation.docx new file mode 100644 index 0000000..e60717c Binary files /dev/null and b/DEV.1.1/cours-java/1 La compilation.docx differ diff --git a/DEV.1.1/cours-java/10 Chaînes de caractères.docx b/DEV.1.1/cours-java/10 Chaînes de caractères.docx new file mode 100644 index 0000000..9679e77 Binary files /dev/null and b/DEV.1.1/cours-java/10 Chaînes de caractères.docx differ diff --git a/DEV.1.1/cours-java/11 Fonctions.docx b/DEV.1.1/cours-java/11 Fonctions.docx new file mode 100644 index 0000000..dad9cba Binary files /dev/null and b/DEV.1.1/cours-java/11 Fonctions.docx differ diff --git a/DEV.1.1/cours-java/12 Organisation du code.docx b/DEV.1.1/cours-java/12 Organisation du code.docx new file mode 100644 index 0000000..e69de29 diff --git a/DEV.1.1/cours-java/13 Allocation dynamique.docx b/DEV.1.1/cours-java/13 Allocation dynamique.docx new file mode 100644 index 0000000..33a9c6f Binary files /dev/null and b/DEV.1.1/cours-java/13 Allocation dynamique.docx differ diff --git a/DEV.1.1/cours-java/14 Les structures.docx b/DEV.1.1/cours-java/14 Les structures.docx new file mode 100644 index 0000000..85f2f8f Binary files /dev/null and b/DEV.1.1/cours-java/14 Les structures.docx differ diff --git a/DEV.1.1/cours-java/15 Les fichiers.docx b/DEV.1.1/cours-java/15 Les fichiers.docx new file mode 100644 index 0000000..7735dab Binary files /dev/null and b/DEV.1.1/cours-java/15 Les fichiers.docx differ diff --git a/DEV.1.1/cours-java/15.01 Les fichiers exercices.pdf b/DEV.1.1/cours-java/15.01 Les fichiers exercices.pdf new file mode 100644 index 0000000..3d89bf9 Binary files /dev/null and b/DEV.1.1/cours-java/15.01 Les fichiers exercices.pdf differ diff --git a/DEV.1.1/cours-java/16 Ecriture et lecture de texte, Flux prédéfinis, Accès direct, Flux mixtes.docx b/DEV.1.1/cours-java/16 Ecriture et lecture de texte, Flux prédéfinis, Accès direct, Flux mixtes.docx new file mode 100644 index 0000000..c6be42b Binary files /dev/null and b/DEV.1.1/cours-java/16 Ecriture et lecture de texte, Flux prédéfinis, Accès direct, Flux mixtes.docx differ diff --git a/DEV.1.1/cours-java/17 Liste chaînées.docx b/DEV.1.1/cours-java/17 Liste chaînées.docx new file mode 100644 index 0000000..560c023 Binary files /dev/null and b/DEV.1.1/cours-java/17 Liste chaînées.docx differ diff --git a/DEV.1.1/cours-java/17.01.docx b/DEV.1.1/cours-java/17.01.docx new file mode 100644 index 0000000..52f4d61 Binary files /dev/null and b/DEV.1.1/cours-java/17.01.docx differ diff --git a/DEV.1.1/cours-java/18 Les constantes nommées.docx b/DEV.1.1/cours-java/18 Les constantes nommées.docx new file mode 100644 index 0000000..19c889f Binary files /dev/null and b/DEV.1.1/cours-java/18 Les constantes nommées.docx differ diff --git a/DEV.1.1/cours-java/19 La récursivité.docx b/DEV.1.1/cours-java/19 La récursivité.docx new file mode 100644 index 0000000..49350c3 Binary files /dev/null and b/DEV.1.1/cours-java/19 La récursivité.docx differ diff --git a/DEV.1.1/cours-java/19.01.docx b/DEV.1.1/cours-java/19.01.docx new file mode 100644 index 0000000..0f09a10 Binary files /dev/null and b/DEV.1.1/cours-java/19.01.docx differ diff --git a/DEV.1.1/cours-java/2 Les caractères.docx b/DEV.1.1/cours-java/2 Les caractères.docx new file mode 100644 index 0000000..82ecdb0 Binary files /dev/null and b/DEV.1.1/cours-java/2 Les caractères.docx differ diff --git a/DEV.1.1/cours-java/20 Piles et Files.docx b/DEV.1.1/cours-java/20 Piles et Files.docx new file mode 100644 index 0000000..34ffd24 Binary files /dev/null and b/DEV.1.1/cours-java/20 Piles et Files.docx differ diff --git a/DEV.1.1/cours-java/20.01 Comment coder une File-Pile.docx b/DEV.1.1/cours-java/20.01 Comment coder une File-Pile.docx new file mode 100644 index 0000000..8e0a208 Binary files /dev/null and b/DEV.1.1/cours-java/20.01 Comment coder une File-Pile.docx differ diff --git a/DEV.1.1/cours-java/20.01 representation de file en liste chainée.c b/DEV.1.1/cours-java/20.01 representation de file en liste chainée.c new file mode 100644 index 0000000..b646fef --- /dev/null +++ b/DEV.1.1/cours-java/20.01 representation de file en liste chainée.c @@ -0,0 +1,32 @@ +#include +#include + +/*Définissez les types nécessaires pour une file de caractères :*/ +struct maillon_s { + char valeurs; + struct maillon_s* suivant; +}; + +struct file_s { + struct maillon_s* premier; + struct maillon_s* dernier; +} + +typedef struct maillon_s maillon; +typedef struct file_s file; + + +char dequeue(file* f){ + maillon m = *(f->premier); /*je fais une copie de tout ce qu'il y a dans le maillo A*/ + free(f->premier); + f->premier = m.suivant; + + if(f->premier==NULL){ + f->dernier=NULL; + } + return m.valeur +} + +int main(void){ + return 0; +} \ No newline at end of file diff --git a/DEV.1.1/cours-java/20.01 représentation-file-listechainée.png b/DEV.1.1/cours-java/20.01 représentation-file-listechainée.png new file mode 100644 index 0000000..ad6bbd3 Binary files /dev/null and b/DEV.1.1/cours-java/20.01 représentation-file-listechainée.png differ diff --git a/DEV.1.1/cours-java/20.01-structure-rassemblant-infofile-char.c b/DEV.1.1/cours-java/20.01-structure-rassemblant-infofile-char.c new file mode 100644 index 0000000..d0b1c1d --- /dev/null +++ b/DEV.1.1/cours-java/20.01-structure-rassemblant-infofile-char.c @@ -0,0 +1,25 @@ +#include +#include + +typedef struct { + char tab[50]; + int indice_debut; + int indice_fin; + int taille; +} car_file; + + +char dequeue(car_file* f){ + f->indice_debut=(f->indice_debut+1)%50; + f-taille--; + return f->tab[(f->indice_debut+49)%50]; +} + + + + +int main(void){ + + + return 0; +} \ No newline at end of file diff --git a/DEV.1.1/cours-java/3 Conditions et structure conditionelle.odt b/DEV.1.1/cours-java/3 Conditions et structure conditionelle.odt new file mode 100644 index 0000000..6c84e3f Binary files /dev/null and b/DEV.1.1/cours-java/3 Conditions et structure conditionelle.odt differ diff --git a/DEV.1.1/cours-java/4 Boucles.docx b/DEV.1.1/cours-java/4 Boucles.docx new file mode 100644 index 0000000..e8a5671 Binary files /dev/null and b/DEV.1.1/cours-java/4 Boucles.docx differ diff --git a/DEV.1.1/cours-java/5 Types.docx b/DEV.1.1/cours-java/5 Types.docx new file mode 100644 index 0000000..06b7925 Binary files /dev/null and b/DEV.1.1/cours-java/5 Types.docx differ diff --git a/DEV.1.1/cours-java/6 Les constantes nommés et la Bibliothèque math.docx b/DEV.1.1/cours-java/6 Les constantes nommés et la Bibliothèque math.docx new file mode 100644 index 0000000..e69de29 diff --git a/DEV.1.1/cours-java/7 Les Tableaux.docx b/DEV.1.1/cours-java/7 Les Tableaux.docx new file mode 100644 index 0000000..e307291 Binary files /dev/null and b/DEV.1.1/cours-java/7 Les Tableaux.docx differ diff --git a/DEV.1.1/cours-java/8 Les Tableaux multidimensionnels.docx b/DEV.1.1/cours-java/8 Les Tableaux multidimensionnels.docx new file mode 100644 index 0000000..9eefc49 Binary files /dev/null and b/DEV.1.1/cours-java/8 Les Tableaux multidimensionnels.docx differ diff --git a/DEV.1.1/cours-java/9 Les adresses et les pointeurs.docx b/DEV.1.1/cours-java/9 Les adresses et les pointeurs.docx new file mode 100644 index 0000000..e69de29 diff --git a/DEV.1.1/cours-java/note TP DEV.docx b/DEV.1.1/cours-java/note TP DEV.docx new file mode 100644 index 0000000..38e1000 Binary files /dev/null and b/DEV.1.1/cours-java/note TP DEV.docx differ diff --git a/DEV.1.1/cours-java/salut.c b/DEV.1.1/cours-java/salut.c new file mode 100644 index 0000000..e69de29 diff --git a/DEV.2.1/TP/TP10-Exceptions/1./ArrayExcp.class b/DEV.2.1/TP/TP10-Exceptions/1./ArrayExcp.class new file mode 100644 index 0000000..bf84841 Binary files /dev/null and b/DEV.2.1/TP/TP10-Exceptions/1./ArrayExcp.class differ diff --git a/DEV.2.1/TP/TP10-Exceptions/1./ArrayExcp.java b/DEV.2.1/TP/TP10-Exceptions/1./ArrayExcp.java new file mode 100644 index 0000000..803104a --- /dev/null +++ b/DEV.2.1/TP/TP10-Exceptions/1./ArrayExcp.java @@ -0,0 +1,14 @@ +import java.awt.*; +import javax.swing.*; + +public class ArrayExcp { + + private int[] tab; + + public ArrayExcp() { + this.tab = new int[5]; + + System.out.println(tab[10]); + + } +} \ No newline at end of file diff --git a/DEV.2.1/TP/TP10-Exceptions/1./ArrayExcpMain.class b/DEV.2.1/TP/TP10-Exceptions/1./ArrayExcpMain.class new file mode 100644 index 0000000..55ff404 Binary files /dev/null and b/DEV.2.1/TP/TP10-Exceptions/1./ArrayExcpMain.class differ diff --git a/DEV.2.1/TP/TP10-Exceptions/1./ArrayExcpMain.java b/DEV.2.1/TP/TP10-Exceptions/1./ArrayExcpMain.java new file mode 100644 index 0000000..2127358 --- /dev/null +++ b/DEV.2.1/TP/TP10-Exceptions/1./ArrayExcpMain.java @@ -0,0 +1,9 @@ +import java.awt.*; +import javax.swing.*; + +public class ArrayExcpMain { + public void main(String[] args) { + + ArrayExcp test = new ArrayExcp(); + } +} \ No newline at end of file diff --git a/DEV.2.1/TP/TP10-Exceptions/1./MainArithmetic.java b/DEV.2.1/TP/TP10-Exceptions/1./MainArithmetic.java new file mode 100644 index 0000000..4eb7783 --- /dev/null +++ b/DEV.2.1/TP/TP10-Exceptions/1./MainArithmetic.java @@ -0,0 +1,6 @@ +public class MainArtihmetic { + public void main(String[] args) { + String truc = "abc"; + System.out.println(Integer.parse.Int(truc)); + } +} \ No newline at end of file diff --git a/DEV.2.1/TP/TP10-Exceptions/1./MainNumber.java b/DEV.2.1/TP/TP10-Exceptions/1./MainNumber.java new file mode 100644 index 0000000..ce3dd17 --- /dev/null +++ b/DEV.2.1/TP/TP10-Exceptions/1./MainNumber.java @@ -0,0 +1,5 @@ +public class Main { + public void Main(String[] args) { + + } +} \ No newline at end of file diff --git a/DEV.2.1/TP/TP10-Exceptions/1./NumberFormatException.java b/DEV.2.1/TP/TP10-Exceptions/1./NumberFormatException.java new file mode 100644 index 0000000..e69de29 diff --git a/DEV.2.1/TP/TP9-Event..suite/1./Mafenetre.java b/DEV.2.1/TP/TP9-Event..suite/1./Mafenetre.java index b913396..07a1bf1 100644 --- a/DEV.2.1/TP/TP9-Event..suite/1./Mafenetre.java +++ b/DEV.2.1/TP/TP9-Event..suite/1./Mafenetre.java @@ -9,7 +9,8 @@ public class Mafenetre extends JFrame { this.setSize(697,156); this.setLocation(500,250); - Volume instance = new Volume(); + Volume volume = new Volume(); + this.add(volume); } } \ No newline at end of file diff --git a/DEV.2.1/TP/TP9-Event..suite/1./MouseWheel.java b/DEV.2.1/TP/TP9-Event..suite/1./MouseWheel.java index 99e5789..e1d2248 100644 --- a/DEV.2.1/TP/TP9-Event..suite/1./MouseWheel.java +++ b/DEV.2.1/TP/TP9-Event..suite/1./MouseWheel.java @@ -10,7 +10,7 @@ public class MouseWheel implements MouseWheelListener { @Override public void mouseWheelMoved(MouseWheelEvent evenement) { - + } } \ No newline at end of file