-
-
Save domenicomonaco/f3bbaa8cfdcdc2c4f3aa to your computer and use it in GitHub Desktop.
Sample SFML2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cstdlib> | |
#include <iostream> | |
#include <SFML/Audio.hpp> | |
#include <SFML/Graphics.hpp> | |
#include <SFML/Window.hpp> | |
#include <SFML/System.hpp> | |
#include <SFML/Config.hpp> | |
#include <SFML/OpenGL.hpp> | |
int main(int argc, char** argv) | |
{ | |
// create render window | |
sf::RenderWindow MyRenderWindow(sf::VideoMode(300, 300), "My SFML Window"); | |
return (EXIT_SUCCESS); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment