Skip to content

Instantly share code, notes, and snippets.

View mehmet-tezel's full-sized avatar
☑️
Verified

Mehmet Tezel mehmet-tezel

☑️
Verified
View GitHub Profile
@mehmet-tezel
mehmet-tezel / sdl2_starting_template.cpp
Last active July 14, 2023 14:03
Simple Window and Renderer Creation with SDL2
#include <SDL.h>
#include <cstdio>
int main(int argc, char* argv[]) {
if (SDL_Init(SDL_INIT_EVERYTHING) != 0)
{
printf("SDL cannot be initialized. Error: %s\n", SDL_GetError());
}