Why did you accept an answer to the previous question if it doesn't actually work? Re-read your tutorial. You need
SDL_Window *foo = SDL_CreateWindow(...);
, where SDL_Window*
is the type of a variable, foo
is the variable name, and = ...
is its initial value.