Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //g++ sfmltest.cpp -lsfml-graphics -lsfml-window -lsfml-system -o sfmltest
- #include <iostream>
- #include <SFML/System.hpp>
- #include <SFML/Graphics.hpp>
- #include <SFML/Audio.hpp>
- int main ()
- {
- std::cout<<"sfml is running\n";
- sf::RenderWindow App(sf::VideoMode(800, 600), "SFML window");
- return 0;
- }
Add Comment
Please, Sign In to add comment