Added Execute function example

This commit is contained in:
Rabia Alhaffar 2020-06-12 20:57:37 +03:00 committed by GitHub
parent 37ce63878e
commit 3835a82c42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,16 @@
// Written by Rabia Alhaffar in 12/June/2020
#include <raylib.h>
int main(void) {
InitWindow(0,0,"Execute");
Execute("mkdir made_with_example");
while(!WindowShouldClose()) {
BeginDrawing();
ClearBackground(RAYWHITE);
DrawText("Command executed successfully!!!",10,10,32,BLACK);
EndDrawing();
}
CloseWindow();
return 0;
}