Source Code:
#include “raylib.h”
int main() {
int iResX{500}, iResY{500};
InitWindow(iResX, iResY, “Project Window”);
while (!WindowShouldClose()) {
BeginDrawing();
ClearBackground(WHITE);
DrawCircle(iResX/2, iResY/2, 25, BLUE );
EndDrawing();
}
}
Question:
When I try to watch iResX and iResY, they appear as “not available” under the watch section of VSC. When I change the X and Y values, it properly resizes and centers but it won’t tell me what those stored values are.