Okay, i learned how to initialize an Event through this code
while (Running)
{
sf::Event Event;
while (App.GetEvent(Event))
{
// Process event
}
App.Display();
}
I then became zealous and created 2 events
while (Running)
{
sf::Event Event;
sf::Event Second;
while (App.GetEvent(Event))
{
// Process event
}
while(App.GetEvent(Second))
{
//Process other events
}
App.Display();
}
Then when I run my SFML program, it releases this...
"Run-Time Check Failure #3 - The variable 'Second' is being used without being initialized."
I don't get it. How do I initialize my Event named Second?
Cheers.