Click here to Skip to main content
15,900,725 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: OT Pin
kakan14-Jun-06 21:45
professionalkakan14-Jun-06 21:45 
GeneralRe: OT Pin
toxcct14-Jun-06 21:52
toxcct14-Jun-06 21:52 
GeneralRe: OT Pin
ThatsAlok14-Jun-06 19:30
ThatsAlok14-Jun-06 19:30 
GeneralRe: OT Pin
kakan14-Jun-06 20:47
professionalkakan14-Jun-06 20:47 
GeneralRe: OT Pin
ThatsAlok14-Jun-06 19:43
ThatsAlok14-Jun-06 19:43 
GeneralRe: OT Pin
kakan14-Jun-06 21:16
professionalkakan14-Jun-06 21:16 
QuestionBase Class Reference Pin
Sarath C14-Jun-06 0:25
Sarath C14-Jun-06 0:25 
AnswerRe: Base Class Reference [modified] Pin
_AnsHUMAN_ 14-Jun-06 0:38
_AnsHUMAN_ 14-Jun-06 0:38 
A reference is treated like a constant pointer.
The big difference between pointers and references is that you must use an explicit operator-the * operator-to dereference a pointer, but you don't use an operator to dereference a reference.
In other words, once you bind a reference to refer to an object, you cannot rebind it to refer to a different object.
Now if you want to assign another derived class object to b you just can't.

Somethings seem HARD to do, until we know how to do them.
Wink | ;-)
_AnShUmAn_


-- modified at 7:31 Wednesday 14th June, 2006
GeneralRe: Base Class Reference Pin
toxcct14-Jun-06 1:27
toxcct14-Jun-06 1:27 
GeneralRe: Base Class Reference Pin
_AnsHUMAN_ 14-Jun-06 1:33
_AnsHUMAN_ 14-Jun-06 1:33 
GeneralRe: Base Class Reference Pin
toxcct14-Jun-06 1:36
toxcct14-Jun-06 1:36 
AnswerRe: Base Class Reference Pin
sunit514-Jun-06 0:41
sunit514-Jun-06 0:41 
GeneralRe: Base Class Reference Pin
John R. Shaw14-Jun-06 1:00
John R. Shaw14-Jun-06 1:00 
GeneralRe: Base Class Reference Pin
toxcct14-Jun-06 1:32
toxcct14-Jun-06 1:32 
GeneralRe: Base Class Reference Pin
John R. Shaw14-Jun-06 1:54
John R. Shaw14-Jun-06 1:54 
AnswerRe: Base Class Reference Pin
John R. Shaw14-Jun-06 0:55
John R. Shaw14-Jun-06 0:55 
GeneralRe: Base Class Reference Pin
Sarath C14-Jun-06 1:19
Sarath C14-Jun-06 1:19 
GeneralRe: Base Class Reference Pin
John R. Shaw14-Jun-06 1:39
John R. Shaw14-Jun-06 1:39 
AnswerRe: Base Class Reference [modified] Pin
_AnsHUMAN_ 14-Jun-06 1:07
_AnsHUMAN_ 14-Jun-06 1:07 
GeneralRe: Base Class Reference Pin
Sarath C14-Jun-06 1:22
Sarath C14-Jun-06 1:22 
AnswerRe: Base Class Reference Pin
Laxman Auti14-Jun-06 2:28
Laxman Auti14-Jun-06 2:28 
AnswerRe: Base Class Reference Pin
Naveen14-Jun-06 1:21
Naveen14-Jun-06 1:21 
QuestionReduce the size of ssleay.lib and libeay.lib file [modified] Pin
sunit514-Jun-06 0:25
sunit514-Jun-06 0:25 
AnswerRe: Reduce the size of ssleay.lib and libeay.lib file Pin
Christian Graus14-Jun-06 1:07
protectorChristian Graus14-Jun-06 1:07 
Questionchar* to CString [modified] Pin
shuchigo_jane14-Jun-06 0:24
shuchigo_jane14-Jun-06 0:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.