// Welcome to my journey of learning the fuckass language that is C //importing basic modules #include #include #ifdef _WIN32 #include #define GETCH() _getch() #else #include #include char getch() { // Fucking painful why is this piece of shit needed on UNIX Based/Unix-like systems 🫩 struct termios oldt, newt; tcgetattr(STDIN_FILENO, &oldt); // save old settings newt = oldt; newt.c_lflag &= ~(ICANON | ECHO); // disable buffering and echo tcsetattr(STDIN_FILENO, TCSANOW, &newt); // apply new settings char ch67 = getchar(); // read one char instantly tcsetattr(STDIN_FILENO, TCSANOW, &oldt); // restore old settings return ch67; } #define GETCH() getch() #endif // STRUCTURE TEST struct man { char firstname[20]; char surname[20]; int age; int weight; char relationship_status[10]; }; // UNION TEST union woman { int age; int weight; }; // FUNCTION TEST int multiply(int num_one, int num_two) { int result = num_one*num_two; return result; } // MAIN FUNCTION int main() { // HELLO WORLD SECTION printf("HELLO WORLD BELOW:\n"); // DIVIDER char first[] = "Hello"; char second[] = "World"; printf("%s %s", first, second); // IF/ELSE STATEMENT printf("\n\nIF/ELSE STATEMENT BELOW:\n"); // DIVIDER int num = 67; if (69