diff options
| author | Martial Simon <msimon_fr@hotmail.com> | 2025-09-15 01:08:27 +0200 |
|---|---|---|
| committer | Martial Simon <msimon_fr@hotmail.com> | 2025-09-15 01:08:27 +0200 |
| commit | c9b6b9a5ca082fe7c1b6f58d7713f785a9eb6a5c (patch) | |
| tree | 3e4f42f93c7ae89a364e4d51fff6e5cec4e55fa9 /graphs/piscine/main.c | |
add: graphs et rushs
Diffstat (limited to 'graphs/piscine/main.c')
| -rw-r--r-- | graphs/piscine/main.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/graphs/piscine/main.c b/graphs/piscine/main.c new file mode 100644 index 0000000..4062426 --- /dev/null +++ b/graphs/piscine/main.c @@ -0,0 +1,15 @@ +#include <stdio.h> +#include <stdlib.h> + +//#include "traffic_lights/traffic_lights.h" +unsigned char rol(unsigned char value, unsigned char roll); + +int main(void) +{ + unsigned char l1 = 0b01010101; + unsigned char l2 = 3; + + printf("l1: %b", rol(l1, l2)); + + return 0; +} |
