chore: Add course material

This commit is contained in:
2026-10-05 11:27:21 +02:00
parent 971813c351
commit e8241fd1ff
660 changed files with 26658 additions and 1 deletions
+19
View File
@@ -0,0 +1,19 @@
#ifndef SCREEN_H
#define SCREEN_H
#include <string>
namespace Screen {
const int BLACK = 0;
const int GRAY = 8; // FOREGROUND_INTENSITY;
const int BLUE = 9; // FOREGROUND_RED|FOREGROUND_INTENSITY
const int GREEN = 10; // FOREGROUND_GREEN|FOREGROUND_INTENSITY;
const int RED = 12; // FOREGROUND_RED|FOREGROUND_INTENSITY
const int YELLOW = RED | GREEN;
const int WHITE = RED | GREEN | BLUE;
const int BACKGROUND = 128; // OR (|) with the color value for gray background
void write(std::string s, int x, int y, int color);
};
#endif