Created
February 6, 2025 15:26
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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