Search:

Type: Posts; User: Taidhger

Search: Search took 0.00 seconds.

  1. Thread: & operator

    by Taidhger
    Replies
    3
    Views
    1,556

    The '&' operator is used the following way: ...

    The '&' operator is used the following way:

    return (13 & 4);
    OR LATER:

    return (13 & 8);
  2. Thread: & operator

    by Taidhger
    Replies
    3
    Views
    1,556

    & operator

    What does the & operator in c++ do (as opposed to the && operator?)
  3. Replies
    2
    Views
    1,470

    Oh I see! Will having a second pointer keeping...

    Oh I see! Will having a second pointer keeping track of this value in memory after the first pointer (p) is deleted, prevent the data being overwritten in memory?

    I have a function which returns...
  4. Replies
    2
    Views
    1,470

    new and delete operators

    int *p = new int[2];
    delete [] p;

    The above sort of code is giving me major hassle! I'm using a 2d array of pointers and can't seem to free up the memory space that it is occupying when I delete...
Results 1 to 4 of 4