Click here to Skip to main content
15,887,822 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: error C2440: 'initializing' : cannot convert from 'class base *' to 'class Derived *' Pin
jhwurmbach18-Apr-08 2:26
jhwurmbach18-Apr-08 2:26 
C.P.Rajesh wrote:
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?


No. But you could save yourself the complete container hassle, and focus on the conversion.

Or, you could use STL container with boost::any[^]

Boost is quite renowned for their rigid code review and their focus on well thought out concepts.
Its founder list is a who-is-who of the c++-world.

A number of classes from that web site will be part of the next C++ standard library.

Let's think the unthinkable, let's do the undoable, let's prepare to grapple with the ineffable itself, and see if we may not eff it after all.
Douglas Adams, "Dirk Gently's Holistic Detective Agency"

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 
Questionhow can i set the menu position . Pin
vasu_sri17-Apr-08 19:43
vasu_sri17-Apr-08 19:43 
GeneralSaveDC returning 0 Pin
Super Hornet17-Apr-08 19:43
Super Hornet17-Apr-08 19:43 
GeneralRe: SaveDC returning 0 Pin
Hamid_RT17-Apr-08 20:31
Hamid_RT17-Apr-08 20:31 
GeneralRe: SaveDC returning 0 Pin
Super Hornet17-Apr-08 20:34
Super Hornet17-Apr-08 20:34 
GeneralRe: SaveDC returning 0 Pin
Hamid_RT17-Apr-08 21:03
Hamid_RT17-Apr-08 21:03 
GeneralRe: SaveDC returning 0 Pin
Super Hornet17-Apr-08 22:11
Super Hornet17-Apr-08 22:11 
GeneralRe: SaveDC returning 0 Pin
Hamid_RT17-Apr-08 22:54
Hamid_RT17-Apr-08 22:54 
Generali want to convert the byte information into bit information Pin
huma satti17-Apr-08 19:42
huma satti17-Apr-08 19:42 
GeneralRe: i want to convert the byte information into bit information Pin
Cedric Moonen17-Apr-08 20:27
Cedric Moonen17-Apr-08 20:27 

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.