update
This commit is contained in:
BIN
DEV.1.1/cours-java/1 La compilation.docx
Normal file
BIN
DEV.1.1/cours-java/1 La compilation.docx
Normal file
Binary file not shown.
BIN
DEV.1.1/cours-java/10 Chaînes de caractères.docx
Normal file
BIN
DEV.1.1/cours-java/10 Chaînes de caractères.docx
Normal file
Binary file not shown.
BIN
DEV.1.1/cours-java/11 Fonctions.docx
Normal file
BIN
DEV.1.1/cours-java/11 Fonctions.docx
Normal file
Binary file not shown.
0
DEV.1.1/cours-java/12 Organisation du code.docx
Normal file
0
DEV.1.1/cours-java/12 Organisation du code.docx
Normal file
BIN
DEV.1.1/cours-java/13 Allocation dynamique.docx
Normal file
BIN
DEV.1.1/cours-java/13 Allocation dynamique.docx
Normal file
Binary file not shown.
BIN
DEV.1.1/cours-java/14 Les structures.docx
Normal file
BIN
DEV.1.1/cours-java/14 Les structures.docx
Normal file
Binary file not shown.
BIN
DEV.1.1/cours-java/15 Les fichiers.docx
Normal file
BIN
DEV.1.1/cours-java/15 Les fichiers.docx
Normal file
Binary file not shown.
BIN
DEV.1.1/cours-java/15.01 Les fichiers exercices.pdf
Normal file
BIN
DEV.1.1/cours-java/15.01 Les fichiers exercices.pdf
Normal file
Binary file not shown.
Binary file not shown.
BIN
DEV.1.1/cours-java/17 Liste chaînées.docx
Normal file
BIN
DEV.1.1/cours-java/17 Liste chaînées.docx
Normal file
Binary file not shown.
BIN
DEV.1.1/cours-java/17.01.docx
Normal file
BIN
DEV.1.1/cours-java/17.01.docx
Normal file
Binary file not shown.
BIN
DEV.1.1/cours-java/18 Les constantes nommées.docx
Normal file
BIN
DEV.1.1/cours-java/18 Les constantes nommées.docx
Normal file
Binary file not shown.
BIN
DEV.1.1/cours-java/19 La récursivité.docx
Normal file
BIN
DEV.1.1/cours-java/19 La récursivité.docx
Normal file
Binary file not shown.
BIN
DEV.1.1/cours-java/19.01.docx
Normal file
BIN
DEV.1.1/cours-java/19.01.docx
Normal file
Binary file not shown.
BIN
DEV.1.1/cours-java/2 Les caractères.docx
Normal file
BIN
DEV.1.1/cours-java/2 Les caractères.docx
Normal file
Binary file not shown.
BIN
DEV.1.1/cours-java/20 Piles et Files.docx
Normal file
BIN
DEV.1.1/cours-java/20 Piles et Files.docx
Normal file
Binary file not shown.
BIN
DEV.1.1/cours-java/20.01 Comment coder une File-Pile.docx
Normal file
BIN
DEV.1.1/cours-java/20.01 Comment coder une File-Pile.docx
Normal file
Binary file not shown.
@@ -0,0 +1,32 @@
|
|||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
/*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;
|
||||||
|
}
|
BIN
DEV.1.1/cours-java/20.01 représentation-file-listechainée.png
Normal file
BIN
DEV.1.1/cours-java/20.01 représentation-file-listechainée.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
@@ -0,0 +1,25 @@
|
|||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
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;
|
||||||
|
}
|
BIN
DEV.1.1/cours-java/3 Conditions et structure conditionelle.odt
Normal file
BIN
DEV.1.1/cours-java/3 Conditions et structure conditionelle.odt
Normal file
Binary file not shown.
BIN
DEV.1.1/cours-java/4 Boucles.docx
Normal file
BIN
DEV.1.1/cours-java/4 Boucles.docx
Normal file
Binary file not shown.
BIN
DEV.1.1/cours-java/5 Types.docx
Normal file
BIN
DEV.1.1/cours-java/5 Types.docx
Normal file
Binary file not shown.
BIN
DEV.1.1/cours-java/7 Les Tableaux.docx
Normal file
BIN
DEV.1.1/cours-java/7 Les Tableaux.docx
Normal file
Binary file not shown.
BIN
DEV.1.1/cours-java/8 Les Tableaux multidimensionnels.docx
Normal file
BIN
DEV.1.1/cours-java/8 Les Tableaux multidimensionnels.docx
Normal file
Binary file not shown.
BIN
DEV.1.1/cours-java/note TP DEV.docx
Normal file
BIN
DEV.1.1/cours-java/note TP DEV.docx
Normal file
Binary file not shown.
0
DEV.1.1/cours-java/salut.c
Normal file
0
DEV.1.1/cours-java/salut.c
Normal file
BIN
DEV.2.1/TP/TP10-Exceptions/1./ArrayExcp.class
Normal file
BIN
DEV.2.1/TP/TP10-Exceptions/1./ArrayExcp.class
Normal file
Binary file not shown.
14
DEV.2.1/TP/TP10-Exceptions/1./ArrayExcp.java
Normal file
14
DEV.2.1/TP/TP10-Exceptions/1./ArrayExcp.java
Normal file
@@ -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]);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
BIN
DEV.2.1/TP/TP10-Exceptions/1./ArrayExcpMain.class
Normal file
BIN
DEV.2.1/TP/TP10-Exceptions/1./ArrayExcpMain.class
Normal file
Binary file not shown.
9
DEV.2.1/TP/TP10-Exceptions/1./ArrayExcpMain.java
Normal file
9
DEV.2.1/TP/TP10-Exceptions/1./ArrayExcpMain.java
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
import java.awt.*;
|
||||||
|
import javax.swing.*;
|
||||||
|
|
||||||
|
public class ArrayExcpMain {
|
||||||
|
public void main(String[] args) {
|
||||||
|
|
||||||
|
ArrayExcp test = new ArrayExcp();
|
||||||
|
}
|
||||||
|
}
|
6
DEV.2.1/TP/TP10-Exceptions/1./MainArithmetic.java
Normal file
6
DEV.2.1/TP/TP10-Exceptions/1./MainArithmetic.java
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
public class MainArtihmetic {
|
||||||
|
public void main(String[] args) {
|
||||||
|
String truc = "abc";
|
||||||
|
System.out.println(Integer.parse.Int(truc));
|
||||||
|
}
|
||||||
|
}
|
5
DEV.2.1/TP/TP10-Exceptions/1./MainNumber.java
Normal file
5
DEV.2.1/TP/TP10-Exceptions/1./MainNumber.java
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
public class Main {
|
||||||
|
public void Main(String[] args) {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
@@ -9,7 +9,8 @@ public class Mafenetre extends JFrame {
|
|||||||
this.setSize(697,156);
|
this.setSize(697,156);
|
||||||
this.setLocation(500,250);
|
this.setLocation(500,250);
|
||||||
|
|
||||||
Volume instance = new Volume();
|
Volume volume = new Volume();
|
||||||
|
this.add(volume);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
@@ -10,7 +10,7 @@ public class MouseWheel implements MouseWheelListener {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void mouseWheelMoved(MouseWheelEvent evenement) {
|
public void mouseWheelMoved(MouseWheelEvent evenement) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
Reference in New Issue
Block a user