I'm having some problems with this program I'm making in C++. For what I'm doing here:
{
GridWorld world;
string input = "";
while (input != "q")
{
thread render(&GridWorld::Render, GridWorld());
render.join();
input = world.GetInput();
thread thread_update(&GridWorld::Update, GridWorld());
thread_update.join();
}
cout << "Thank you for playing\n";
}
It used to work before, but now it is not anymore.
Can someone please help