This commit is contained in:
Emmanuel Srivastava
2025-03-12 13:06:52 +01:00
parent c987edda6e
commit 9e107c8657
38 changed files with 94 additions and 2 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -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;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View File

@@ -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;
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

Binary file not shown.

View 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]);
}
}

Binary file not shown.

View File

@@ -0,0 +1,9 @@
import java.awt.*;
import javax.swing.*;
public class ArrayExcpMain {
public void main(String[] args) {
ArrayExcp test = new ArrayExcp();
}
}

View File

@@ -0,0 +1,6 @@
public class MainArtihmetic {
public void main(String[] args) {
String truc = "abc";
System.out.println(Integer.parse.Int(truc));
}
}

View File

@@ -0,0 +1,5 @@
public class Main {
public void Main(String[] args) {
}
}

View File

@@ -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);
}
}

View File

@@ -10,7 +10,7 @@ public class MouseWheel implements MouseWheelListener {
@Override
public void mouseWheelMoved(MouseWheelEvent evenement) {
}
}