I was following along with Codegropher's tutorial on setting up sublime text for SDL2 and i wrote this short program
#include <SDL2/SDL.h>
#include <iostream>
int winmain(int argc, char const *argv[]){
std::cout << "Hello";
return 0;
}
This should be my GCC command
g++ -c src/*.cpp -std=c++14 -g -Wall -m32 -I C:/SDL2-w64/include && g++ *.o -o ./bin/debug/main -L C:/SDL2-w64/lib -lmingw32 -lSDL2main -lSDL2 && start ./bin/debug/main
Can anyone tell me what I' doing wrong?