Re: SFML question
It doesnt work.
ped.cpp:181:36: error: expected primary-_expression_ before ‘,’ token thr = new sf::Thread(std::bind(&Ped, &goToCoords, d, a_ped[d].x, a_ped[d].y - cy, a_ped[d].z));
ped.cpp:181:39: error: ISO C++ forbids taking the address of an unqualified or parenthesized non-static member function to form a pointer to member function. Say ‘&Ped::goToCoords’ [-fpermissive] thr = new sf::Thread(std::bind(&Ped, &goToCoords, d, a_ped[d].x, a_ped[d].y - cy, a_ped[d].z));
^~~~~~~~~~
_______________________________________________ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector