Ich weiß nicht, ob ich das richtig verstanden hab, aber meinst du das so in etwa? Code: void displayfire(sprite_struc *pStruct, int numStruct){ for(int i = 0; i<numStruct; i++){ // ... } }
void displayfire(sprite_struc *pStruct, int numStruct){ for(int i = 0; i<numStruct; i++){ // ... } }
-- C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do it blows your whole leg off. - Bjarne Stroustrup
Foren-Regeln