fork download
  1. #include <SFML/Graphics.hpp>
  2. #include <SFML/Window.hpp>
  3. #include <SFML/System.hpp>
  4. #include <Windows.h>
  5.  
  6.  
  7. void SA()
  8. {
  9. sf::RenderWindow SA(sf::VideoMode(1920, 1080), "ПИРИВАДЧИК!!!");
  10.  
  11. sf::Texture stroka;
  12. stroka.loadFromFile("stroka");
  13. sf::Sprite strokaS;
  14. strokaS.setTexture(stroka);
  15.  
  16. sf::Font strokaF;
  17. strokaF.loadFromFile("CyrilicOld.tff");
  18. bool checkPosition1 = false;
  19. bool checkPosition2 = false;
  20. sf::IntRect area1(132, 322, 887 - 132, 920 - 322);
  21. sf::IntRect area2(1032, 308, 1785 - 1032, 907 - 308);
  22. while (SA.isOpen())
  23. {
  24. sf::Event event;
  25. while (SA.pollEvent(event))
  26. {
  27. switch (event.type)
  28. {
  29. case sf::Event::Closed:
  30. SA.close();
  31. break;
  32. case sf::Keyboard::Key::Escape:
  33. SA.close();
  34. break;
  35. case sf::Event::MouseMoved:
  36. }
  37. }
  38. }
  39. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:1:29: fatal error: SFML/Graphics.hpp: No such file or directory
 #include <SFML/Graphics.hpp>
                             ^
compilation terminated.
stdout
Standard output is empty