Search:

Type: Posts; User: anil_

Search: Search took 0.00 seconds.

  1. Well the reference says, it is undefined. But how...

    Well the reference says, it is undefined. But how exactly the equation is executed? What is the value of "i" which is present in the middle of expression?

    I got the answers for evaluation of "i",...
  2. Post Increment an Pre Increment operators in c++

    Hi All,

    i have small problem in understanding the post and pre increments in c++. Could you please help me in understanding how exactly the equation is executed. Below is the code:


    #include...
  3. Thread: l value required

    by anil_
    Replies
    16
    Views
    5,552

    not an issue. :redface:

    not an issue. :redface:
  4. Thread: l value required

    by anil_
    Replies
    16
    Views
    5,552

    "Object Oriented Programming with C++ : M.P.Bhave...

    "Object Oriented Programming with C++ : M.P.Bhave and S.A. Patekar"

    what confuses me is, there is an output text window with all the results. I have mailed to author asking for further...
  5. Thread: l value required

    by anil_
    Replies
    16
    Views
    5,552

    ok, i think the text book is wrong. In the...

    ok, i think the text book is wrong.

    In the book, he talks of changing the reference as an alias for another variable.

    Any how i thank you all for this nice conversation we had. it was such a...
  6. Thread: l value required

    by anil_
    Replies
    16
    Views
    5,552

    i agree with manasij7479 that it is not possible...

    i agree with manasij7479 that it is not possible trying to play with 3 variables point to 2 addresses at the same time. It should be only two on two.

    But in my case, y2 should be an alias to y1,...
  7. Thread: l value required

    by anil_
    Replies
    16
    Views
    5,552

    y2 = y3; But for the above code, the address...

    y2 = y3;

    But for the above code, the address of y3 is different from y2.

    I need to change the address of y2 to be same as y3.
    what should i do then..?

    anil
  8. Thread: l value required

    by anil_
    Replies
    16
    Views
    5,552

    ok i got the point...

    ok i got the point...
  9. Thread: l value required

    by anil_
    Replies
    16
    Views
    5,552

    Well.. i was trying to point the value of y3 to...

    Well.. i was trying to point the value of y3 to y2.

    (That is how it is shown in text book sample code)

    in the initial first statements, i have assigned the value of y1 to y2
    int & y2 = y1;
    ...
  10. Thread: l value required

    by anil_
    Replies
    16
    Views
    5,552

    l value required

    Hi,

    I had some of the issues referred to "lvalue required" in c++, but i could not find for my specific case.
    I was trying to write a small code using "Type reference" concept.

    Below is my...
Results 1 to 10 of 10