init projet

This commit is contained in:
2024-10-06 15:32:20 +02:00
commit d449d4b10a
84 changed files with 13546 additions and 0 deletions

13
tp3/TP3/tools.h Normal file
View File

@@ -0,0 +1,13 @@
#ifndef TOOLS_H_
#define TOOLS_H_
// C2x typeof supported by clang and gcc but not by ccls.
#define SWAP(a, b) \
do { \
__typeof__(a) temp; \
temp = a; \
a = b; \
b = temp; \
} while (0)
#endif // TOOLS_H_