Click here to Skip to main content
15,913,939 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: OT Pin
kakan14-Jun-06 20:54
professionalkakan14-Jun-06 20:54 
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 
class CBase
{

};

class CDerived: public CBase
{
};

int main()
{
	CDerived d;
	CBase& b = d;
}


it was quite new information ( i haven't tried yet) that a base class can refer a derived class object. Could you pls explain the what is the difference with using a base class pointer?

SaRath.

"Don't Do Different things... Do Things Differently..."

Understanding State Pattern in C++

AnswerRe: Base Class Reference [modified] Pin
_AnsHUMAN_ 14-Jun-06 0:38
_AnsHUMAN_ 14-Jun-06 0:38 
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 

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.