Skip to content

Instantly share code, notes, and snippets.

@SumitKumar-17
Created February 6, 2025 15:26
Show Gist options
  • Save SumitKumar-17/dcc5195e5ae4b11ac0efc62ad38f1143 to your computer and use it in GitHub Desktop.
Save SumitKumar-17/dcc5195e5ae4b11ac0efc62ad38f1143 to your computer and use it in GitHub Desktop.
This is a raylib test code checker to check whether raylib is installed into the system or not.
#include "raylib.h"
// A test code which can be use to check whether raylib is installed correclty into the system or not.
int main(void) {
const int screenWidth = 800;
const int screenHeight = 450;
InitWindow(screenWidth, screenHeight, "raylib test window");
while (!WindowShouldClose()) {
BeginDrawing();
ClearBackground(RAYWHITE);
DrawText("Congrats! You installed raylib!", 190, 200, 20, LIGHTGRAY);
EndDrawing();
}
CloseWindow();
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment