diff --git a/.obsidian/workspace.json b/.obsidian/workspace.json index ca9920c..4fa04f9 100644 --- a/.obsidian/workspace.json +++ b/.obsidian/workspace.json @@ -14,7 +14,7 @@ "type": "markdown", "state": { "file": "DEV1.1/CM.md", - "mode": "preview", + "mode": "source", "source": false }, "icon": "lucide-file", diff --git a/DEV1.1/CM.md b/DEV1.1/CM.md index 23945ed..335ef7b 100644 --- a/DEV1.1/CM.md +++ b/DEV1.1/CM.md @@ -470,5 +470,24 @@ int main(void) { > ce code utilise deux constantes pour remplacer les valeurs magiques par des noms pour rendre le code plus lisible +## Types + +### Les types primitifs + +| Nom | Taille | Format | Constantes ? | +| -------------------- | ------ | --------------------------------------- | ------------ | +| char | 8 | %c (character) | 'A' | +| signed char | 8 | %hhd (sHort sHort Digit) | 'A' | +| unsigned char | 8 | %hhu (sHort sHort Unsigned), %hho, %hhd | 'A' | +| short (int) | 16 | %hd | | +| unsigned short (int) | 16 | %hu, %ho, %hx | | +| int | 32 | %d | -34 | +| unsigned (int) | 32 | %u, %o, %x, %i | 12U | +| long (int) | 64 | %ld | -34L | +| unsigned long (int) | 64 | %lu, %lo, %lx | 12UL | +| | | | | +| | | | | + + diff --git a/MATHS/.~lock.R1.06.odt# b/MATHS/.~lock.R1.06.odt# deleted file mode 100644 index cecc1f2..0000000 --- a/MATHS/.~lock.R1.06.odt# +++ /dev/null @@ -1 +0,0 @@ -,benji,IFP3251245,25.09.2026 10:00,file:///home/benji/.config/libreoffice/4; \ No newline at end of file