15 years, 8 months ago
Highlights
How would I get additional things to happen if the remove_if function is true? Like decrement variables. EDIT: Annnnnnnnd it still gets me a assert error when it tries to remove…
15 years, 8 months ago
15 years, 8 months ago
Say there's a class named BasicEnemy. Now in SFML, the library I'm using, each instance of BasicEnemy has to be drawn in order to update it, using the sf::RenderWindow.D…
15 years, 8 months ago
O HAI THAR I'm reading the "Lazy Foo' Productions" tutorial, and I'm stuck at the first one. :| At step 11, (http://lazyfoo.net/SDL_tutorials/lesson01/windows/msvsnet0508e/…
16 years, 10 months ago
15 years, 8 months ago
Latest Activity
See all in DiscussionsHow would I get additional things to happen if the remove_if function is true? Like decrement variables. EDIT: Annnnnnnnd it …
15 years, 8 months ago
Okay, when I try to compile this, vBullet.erase( remove_if(vBullet.begin(), vBullet.end(), CheckBulletLocation), vBullet.end() ); ~~~~~~~ bool Player::CheckBulletLocation(sf::Sprite TestSprite) { retu
15 years, 8 months ago
I've never heard of this; what is the 'remove-erase' idiom?
15 years, 8 months ago