Mercurial
diff hello_world/main.c @ 0:5695ef413be0
Initialized mono repo with bazels with few examples.
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Tue, 23 Sep 2025 10:05:25 -0700 |
| parents | |
| children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/hello_world/main.c Tue Sep 23 10:05:25 2025 -0700 @@ -0,0 +1,17 @@ +#include <stdio.h> +#include "helper/helper.h" +#include "third_party/raylib/raylib-5.5_macos/include/raylib.h" + +int main() +{ + InitWindow(800, 450, "raylib [core] example - basic window"); + while (!WindowShouldClose()) + { + BeginDrawing(); + ClearBackground(RAYWHITE); + DrawText("Congrats! You created your first window!", 190, 200, 20, LIGHTGRAY); + EndDrawing(); + } + CloseWindow(); + return 0; +}