how can i call a destructor from inside the class?
i'm working on a game and i wan't to delete a monster once it reaches a certain location on the screen.
Type: Posts; User: FpaFtw
how can i call a destructor from inside the class?
i'm working on a game and i wan't to delete a monster once it reaches a certain location on the screen.
I read that it's a good idea to keep the number of globals in your project as low as possible.
now what would be good ways to avoid global variables?
thanks i got it working now :)
how do i pull something like this off?
int level = 1;
std::ifstream map("level" + level + ".map";
Thanks it works now =D
i got a problem with exponentiation(< i think its called that in english XD)
int b = 1;
int a() {
return 600 ^ ((double)b / 100 + 1);
}
Thanks :)
class one {
public:
void test(two t) {
}
};
class two {
public:
void testt(one o) {