Pointers and VectorsI have a vector: [code]vector<Turret> turrets;[/code] and I have filled it with Turret objects. I h...
Preprocessor DirectivesThanks everyone! That solved the issue.
Preprocessor DirectivesA buddy and I are working with SDL on a game. Unfortunately, he is confined to Windows at the momen...
Resizing a Dynamic Memory ArrayThanks. After I thought about it for a bit, I agree.
Class assignment operatorAlthough I'm no guru, I think the reason that the address is copied rather than the actual values is...