update
This commit is contained in:
6
DEV.1.1/Piles_et_Files/1.Chainée.c
Normal file
6
DEV.1.1/Piles_et_Files/1.Chainée.c
Normal file
@@ -0,0 +1,6 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
int main(void){
|
||||
return EXIT_SUCCESS;
|
||||
}
|
7
DEV.1.1/Structures/1.Date.c
Normal file
7
DEV.1.1/Structures/1.Date.c
Normal file
@@ -0,0 +1,7 @@
|
||||
#include <stdlib.h>
|
||||
|
||||
int main(int argc, char const *argv[])
|
||||
{
|
||||
/* code */
|
||||
return 0;
|
||||
}
|
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Recettes et Chefs</title>
|
||||
<title>Sites pour Étoiles et Saveurs</title>
|
||||
<link rel="stylesheet" href="styles.css">
|
||||
</head>
|
||||
<body>
|
||||
@@ -25,7 +25,7 @@
|
||||
<h3>Les Cuisines</h3>
|
||||
<ul>
|
||||
<li>Asiatique</li>
|
||||
<li class="active">Arabe</li>
|
||||
<li>Arabe</li>
|
||||
<li>Française</li>
|
||||
<li>Mexicaine</li>
|
||||
<li>Grecque</li>
|
||||
|
60
DEV.1.2/tp3/ex4.html
Normal file
60
DEV.1.2/tp3/ex4.html
Normal file
@@ -0,0 +1,60 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="initial-scale=1,witdh=device-width">
|
||||
<link rel="stylesheet" href="style4.css">
|
||||
<title>Document</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header>
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="/">Home</a></li>
|
||||
<li><a href="/">About</a></li>
|
||||
<li><a href="/">Contact</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
<main>
|
||||
<article>
|
||||
<header>
|
||||
<h1>Article title 1</h1>
|
||||
</header>
|
||||
<section>
|
||||
<img src="https://picsum.photos/300/200" alt="">
|
||||
<p>lorem ipsum</p>
|
||||
</section>
|
||||
</article>
|
||||
<article>
|
||||
<header>
|
||||
<h1>Article title 2</h1>
|
||||
</header>
|
||||
<section>
|
||||
<img src="https://picsum.photos/300/200" alt="">
|
||||
<p>lorem ipsum</p>
|
||||
</section>
|
||||
</article>
|
||||
<article>
|
||||
<header>
|
||||
<h1>Article title 3</h1>
|
||||
</header>
|
||||
<section>
|
||||
<img src="https://picsum.photos/300/200" alt="">
|
||||
<p>lorem ipsum</p>
|
||||
</section>
|
||||
</article>
|
||||
<article>
|
||||
<header>
|
||||
<h1>Article title 3</h1>
|
||||
</header>
|
||||
<section>
|
||||
<img src="https://picsum.photos/300/200" alt="">
|
||||
<p>lorem ipsum</p>
|
||||
</section>
|
||||
</article>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
21
DEV.1.2/tp3/style_ex4.css
Normal file
21
DEV.1.2/tp3/style_ex4.css
Normal file
@@ -0,0 +1,21 @@
|
||||
ul {
|
||||
|
||||
text-align: center;
|
||||
padding:0;
|
||||
}
|
||||
li {
|
||||
list-style-type: none;
|
||||
list-style-position: inside;
|
||||
display: inline-block;
|
||||
margin-right: 2em;
|
||||
font-size : 2em;
|
||||
}
|
||||
li:last-child{
|
||||
margin-right:0;
|
||||
|
||||
}
|
||||
article {
|
||||
text-align: justify;
|
||||
border : 1px solid grey;
|
||||
padding : 1em;
|
||||
}
|
25
coursDEV.1.1/20.01-structure-rassemblant-infofile-char.c
Normal file
25
coursDEV.1.1/20.01-structure-rassemblant-infofile-char.c
Normal 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;
|
||||
}
|
Reference in New Issue
Block a user