Click here to Skip to main content
15,881,882 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: transferring control between 2 programs? Pin
David Crow14-Jun-07 4:46
David Crow14-Jun-07 4:46 
GeneralRe: transferring control between 2 programs? Pin
IlanTal14-Jun-07 8:13
IlanTal14-Jun-07 8:13 
GeneralRe: transferring control between 2 programs? Pin
David Crow14-Jun-07 8:41
David Crow14-Jun-07 8:41 
GeneralRe: transferring control between 2 programs? Pin
IlanTal14-Jun-07 23:47
IlanTal14-Jun-07 23:47 
AnswerRe: transferring control between 2 programs? Pin
DjinnKahn14-Jun-07 5:03
DjinnKahn14-Jun-07 5:03 
GeneralRe: transferring control between 2 programs? Pin
David Crow14-Jun-07 5:39
David Crow14-Jun-07 5:39 
GeneralRe: transferring control between 2 programs? Pin
IlanTal14-Jun-07 8:15
IlanTal14-Jun-07 8:15 
QuestionCreating array/object at runtime. Pin
Sameer_Thakur14-Jun-07 4:07
Sameer_Thakur14-Jun-07 4:07 
Hi.

I want to know how I can create an array/object at runtime if I don’t know about its data type.
For example,
I have an array Say Arr, but I don’t have any information about the data type of elements it stores. It might be an array of int, float, char or even user defined data type (user defined class).
I can get the information about its class or data type by using ‘type_info’, but how can I create an array/object of same data type at runtime?
Like if I want to copy the contents of an array Arr into another array say ‘NewArr’; of the same type at runtime, how can I create that second array NewArr, i.e. what should I specify as a data type of ‘NewArr’?

Thanks
Sameer Thakur

AnswerRe: Creating array/object at runtime. Pin
David Crow14-Jun-07 4:47
David Crow14-Jun-07 4:47 
AnswerRe: Creating array/object at runtime. Pin
Mark Salsbery14-Jun-07 7:28
Mark Salsbery14-Jun-07 7:28 
Questionwindow caption Pin
Neeraj Sinha14-Jun-07 3:56
Neeraj Sinha14-Jun-07 3:56 
QuestionRe: window caption Pin
Nelek14-Jun-07 19:46
protectorNelek14-Jun-07 19:46 
QuestionGetting Office language settings in MFC Pin
Tarek Jabri14-Jun-07 3:23
Tarek Jabri14-Jun-07 3:23 
QuestionPrinting html displayed in WebBrowser2 Pin
SgLife14-Jun-07 2:21
SgLife14-Jun-07 2:21 
AnswerRe: Printing html displayed in WebBrowser2 Pin
SgLife14-Jun-07 14:42
SgLife14-Jun-07 14:42 
QuestionC++ Exception Pin
T.RATHA KRISHNAN14-Jun-07 2:19
T.RATHA KRISHNAN14-Jun-07 2:19 
AnswerRe: C++ Exception Pin
SandipG 14-Jun-07 2:25
SandipG 14-Jun-07 2:25 
AnswerRe: C++ Exception Pin
prasad_som14-Jun-07 2:51
prasad_som14-Jun-07 2:51 
QuestionRe: C++ Exception Pin
T.RATHA KRISHNAN14-Jun-07 2:54
T.RATHA KRISHNAN14-Jun-07 2:54 
AnswerRe: C++ Exception Pin
prasad_som14-Jun-07 3:02
prasad_som14-Jun-07 3:02 
QuestionRe: C++ Exception Pin
T.RATHA KRISHNAN14-Jun-07 3:09
T.RATHA KRISHNAN14-Jun-07 3:09 
AnswerRe: C++ Exception Pin
Russell'14-Jun-07 4:12
Russell'14-Jun-07 4:12 
QuestionRe: C++ Exception Pin
T.RATHA KRISHNAN15-Jun-07 0:19
T.RATHA KRISHNAN15-Jun-07 0:19 
AnswerRe: C++ Exception Pin
Russell'15-Jun-07 0:52
Russell'15-Jun-07 0:52 
QuestionRe: C++ Exception Pin
T.RATHA KRISHNAN15-Jun-07 1:39
T.RATHA KRISHNAN15-Jun-07 1:39 

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.