syntax error: missing ';' before '}' but im sure im not missing any semicolons C++
the title pretty much explains and i've been looking on google for a while and cant find a working answer here is my code:
#include <SDL.h>
#include <stdio.h>
//Screen dimensions: 1280×720
const int SCREEN_WIDTH = 1280;
const int SCREEN_HEIGHT = 720;
int main(int argc, char* args[])
{
SDL_Window* window = NULL;
SDL_Surface* screenSurface = NULL;
if (SDL_Init(SDL_INIT_VIDEO) < 0)
{
printf("SDL could not initialize! SDL_Error: %s\n", SDL_GetError());
}
}
from Recent Questions - Stack Overflow https://ift.tt/34wGfaZ
https://ift.tt/eA8V8J
Comments
Post a Comment