I have tried to use SFML but it does not work The error is to do with importing the library, i couldn't figure out to install it, i tried multiple tutorials, but all have failed so far.
#include <iostr>
#include <SFML/Network.hpp>
#include <SFML/Graphics.hpp>
#include <SFML/System.hpp>
#include <SFML/Window.hpp>
#include <SFML/Audio.hpp>
//using namespace sf;
int main() {
//window
sf::Window window(sf::Videomode(640, 480), "My first game", sf::Style::Titlebar | sf::Style:: Close);
sf::Event ev;
//Game loop
while (window.pollEvent(ev)) {
//Event polling
switch () {
}
}
return 0;
}