Search:

Type: Posts; User: newt

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    2,980

    I was just going thru a web site, I encountered...

    I was just going thru a web site,
    I encountered a statement saying that

    "( pure )virtual functions can be private or public."

    now what's the using of keeping a ( pure ) virtual function...
  2. Replies
    11
    Views
    1,800

    hmmm...... so when ever I create a variable and...

    hmmm......
    so when ever I create a variable and assign it to a constant the
    constant is modified ( using const_Cast )
    but a literal is hard coded and is not erased.
    so the compiler must be...
  3. Replies
    11
    Views
    1,800

    let me get this straight, When I create a...

    let me get this straight,
    When I create a constant in main, I am directly initializing it to a constant but in a class the initialization is done per object which means there are multiple copies of...
  4. Replies
    11
    Views
    1,800

    hi, I just don't understand. Plz check the code...

    hi,
    I just don't understand.
    Plz check the code below.

    *************************
    int main()
    {
    const int i = 10;

    int *ptr = NULL;
Results 1 to 4 of 4