Guest User

Untitled

a guest
Oct 16th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. //g++ sfmltest.cpp -lsfml-graphics -lsfml-window -lsfml-system -o sfmltest
  2.  
  3.  
  4.  
  5. #include <iostream>
  6. #include <SFML/System.hpp>
  7. #include <SFML/Graphics.hpp>
  8. #include <SFML/Audio.hpp>
  9.  
  10.  
  11. int main ()
  12. {
  13. std::cout<<"sfml is running\n";
  14.  
  15.  
  16.  
  17.  
  18.  
  19. sf::RenderWindow App(sf::VideoMode(800, 600), "SFML window");
  20.  
  21.  
  22.  
  23. return 0;
  24.  
  25. }
Add Comment
Please, Sign In to add comment