Skip to content

Instantly share code, notes, and snippets.

@Ohohcakester
Created May 17, 2016 23:31
Show Gist options
  • Save Ohohcakester/ca2238fceaffaa94646bcfd52c0183d5 to your computer and use it in GitHub Desktop.
Save Ohohcakester/ca2238fceaffaa94646bcfd52c0183d5 to your computer and use it in GitHub Desktop.
A minimal SFML sample
#include <SFML/Graphics.hpp>
#include <iostream>
int RES_X = 800;
int RES_Y = 600;
sf::RenderWindow window(sf::VideoMode(RES_X, RES_Y), "Sample Game");
int main() {
std::cout << "Success";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment