Click here to Skip to main content
15,897,518 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Creating Log files in C/C++ Pin
ThatsAlok18-Apr-08 3:56
ThatsAlok18-Apr-08 3:56 
Questionerror C2440: 'initializing' : cannot convert from 'class base *' to 'class Derived *' Pin
C.P.Rajesh17-Apr-08 21:09
C.P.Rajesh17-Apr-08 21:09 
GeneralRe: error C2440: 'initializing' : cannot convert from 'class base *' to 'class Derived *' Pin
Cedric Moonen17-Apr-08 21:20
Cedric Moonen17-Apr-08 21:20 
GeneralRe: error C2440: 'initializing' : cannot convert from 'class base *' to 'class Derived *' Pin
C.P.Rajesh17-Apr-08 21:30
C.P.Rajesh17-Apr-08 21:30 
QuestionRe: error C2440: 'initializing' : cannot convert from 'class base *' to 'class Derived *' Pin
CPallini17-Apr-08 21:46
mveCPallini17-Apr-08 21:46 
GeneralRe: error C2440: 'initializing' : cannot convert from 'class base *' to 'class Derived *' Pin
Naveen17-Apr-08 21:23
Naveen17-Apr-08 21:23 
GeneralRe: error C2440: 'initializing' : cannot convert from 'class base *' to 'class Derived *' Pin
C.P.Rajesh17-Apr-08 21:33
C.P.Rajesh17-Apr-08 21:33 
GeneralRe: error C2440: 'initializing' : cannot convert from 'class base *' to 'class Derived *' Pin
Naveen17-Apr-08 21:46
Naveen17-Apr-08 21:46 
GeneralRe: error C2440: 'initializing' : cannot convert from 'class base *' to 'class Derived *' Pin
CPallini17-Apr-08 21:48
mveCPallini17-Apr-08 21:48 
GeneralRe: error C2440: 'initializing' : cannot convert from 'class base *' to 'class Derived *' Pin
Naveen17-Apr-08 21:55
Naveen17-Apr-08 21:55 
GeneralRe: error C2440: 'initializing' : cannot convert from 'class base *' to 'class Derived *' Pin
CPallini17-Apr-08 22:48
mveCPallini17-Apr-08 22:48 
GeneralRe: error C2440: 'initializing' : cannot convert from 'class base *' to 'class Derived *' Pin
Naveen17-Apr-08 22:58
Naveen17-Apr-08 22:58 
GeneralRe: error C2440: 'initializing' : cannot convert from 'class base *' to 'class Derived *' Pin
CPallini17-Apr-08 21:45
mveCPallini17-Apr-08 21:45 
GeneralRe: error C2440: 'initializing' : cannot convert from 'class base *' to 'class Derived *' [modified] Pin
C.P.Rajesh17-Apr-08 21:55
C.P.Rajesh17-Apr-08 21:55 
GeneralRe: error C2440: 'initializing' : cannot convert from 'class base *' to 'class Derived *' Pin
CPallini17-Apr-08 22:55
mveCPallini17-Apr-08 22:55 
GeneralRe: error C2440: 'initializing' : cannot convert from 'class base *' to 'class Derived *' Pin
C.P.Rajesh17-Apr-08 23:24
C.P.Rajesh17-Apr-08 23:24 
Thank you very much for your suggestion.
I have a doubt in the first one. Is there any standard library container which stores different data types in one list, i mean first object is 'int', second is some user defined and so on?

In the second suggestion by saying 'Exploit polymorphism' i beleve you are talking about run time polymorphism i.e using virtual functions. But i am afraid i can't do that because the base class doesn't know about the object type to do any manipulation. If i make it a template class then i cannot have a base pointer in node to point to any data type.
Thank you once again for your time and effort.
GeneralRe: error C2440: 'initializing' : cannot convert from 'class base *' to 'class Derived *' Pin
jhwurmbach18-Apr-08 2:26
jhwurmbach18-Apr-08 2:26 
QuestionHow to Change the Font Dynamically on button control Pin
phanindra varma17-Apr-08 20:39
phanindra varma17-Apr-08 20:39 
AnswerRe: How to Change the Font Dynamically on button control Pin
Hamid_RT17-Apr-08 21:00
Hamid_RT17-Apr-08 21:00 
AnswerRe: How to Change the Font Dynamically on button control Pin
softwero18-Apr-08 12:46
softwero18-Apr-08 12:46 
GeneralRe: How to Change the Font Dynamically on button control Pin
phanindra varma18-Apr-08 22:23
phanindra varma18-Apr-08 22:23 
GeneralRe: How to Change the Font Dynamically on button control Pin
softwero22-Apr-08 8:57
softwero22-Apr-08 8:57 
GeneralCombo Box issue Pin
Chandrasekharan P17-Apr-08 20:12
Chandrasekharan P17-Apr-08 20:12 
GeneralRe: Combo Box issue Pin
Hamid_RT17-Apr-08 20:33
Hamid_RT17-Apr-08 20:33 
GeneralRe: Combo Box issue Pin
Iain Clarke, Warrior Programmer17-Apr-08 22:57
Iain Clarke, Warrior Programmer17-Apr-08 22:57 

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.