1
General / Re: unknown project crash?
« on: August 24, 2013, 10:05:24 pm »
I mean, yeah, I'll try it. It just doesn't make any since because I didn't have any problems on my other project.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
#include <SFML/Graphics.hpp>
#include <SFML/Window.hpp>
int main()
{
sf::Window window(sf::VideoMode(800,600), "Window");
while (window.isOpen())
{
sf::Event event;
while (window.pollEvent(event))
{
if (event.type == sf::Event::Closed)
window.close();
}
window.display();
}
return 0;
}
#include <SFML/Graphics.hpp>
#include <SFML/Window.hpp>
int main()
{
sf::RenderWindow window(sf::VideoMode(800,600), "Window");
while (window.isOpen())
{
sf::Event event;
while (window.pollEvent(event))
{
if (event.type == sf::Event::Closed)
window.close();
}
window.clear();
window.display();
}
return 0;
}
the same "blah blah has stopped working" error happens. I don't know if that helps at all, honestly, but I figured i'd try something and it ended up just giving me the same error.