Search:

Type: Posts; User: FpaFtw

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    6,231

    Calling a destructor from inside the class

    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.
  2. Replies
    8
    Views
    2,909

    Avoiding global variables

    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?
  3. Replies
    2
    Views
    1,118

    thanks i got it working now :)

    thanks i got it working now :)
  4. Replies
    2
    Views
    1,118

    ifstream file name

    how do i pull something like this off?



    int level = 1;

    std::ifstream map("level" + level + ".map";
  5. Replies
    2
    Views
    1,178

    Thanks it works now =D

    Thanks it works now =D
  6. Replies
    2
    Views
    1,178

    problem with exponentiation

    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);
    }
  7. Thread: Classes

    by FpaFtw
    Replies
    2
    Views
    786

    Thanks :)

    Thanks :)
  8. Thread: Classes

    by FpaFtw
    Replies
    2
    Views
    786

    Classes

    class one {
    public:
    void test(two t) {

    }
    };

    class two {
    public:
    void testt(one o) {
Results 1 to 8 of 8