Click here to Skip to main content
15,914,322 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: type castting and assignement problem Pin
kk_mfc1-Nov-06 19:17
kk_mfc1-Nov-06 19:17 
AnswerRe: type castting and assignement problem Pin
PJ Arends1-Nov-06 19:33
professionalPJ Arends1-Nov-06 19:33 
AnswerRe: type castting and assignement problem Pin
David Crow2-Nov-06 5:17
David Crow2-Nov-06 5:17 
AnswerRe: type castting and assignement problem Pin
prasad_som1-Nov-06 19:02
prasad_som1-Nov-06 19:02 
QuestionRe: type castting and assignement problem Pin
kk_mfc1-Nov-06 19:23
kk_mfc1-Nov-06 19:23 
QuestionRe: type castting and assignement problem Pin
kk_mfc1-Nov-06 19:31
kk_mfc1-Nov-06 19:31 
AnswerRe: type castting and assignement problem Pin
David Crow2-Nov-06 5:07
David Crow2-Nov-06 5:07 
AnswerRe: type castting and assignement problem Pin
ThatsAlok1-Nov-06 19:15
ThatsAlok1-Nov-06 19:15 
kk_mfc wrote:
const int ********::get_id() const
{
return id;
}

I want to do these operations.
**** gh;
int th = gh.get_id (how is it possibele to type cast)

 ACtually you are returning const int and your are taking it value in normal int..
 either change th to const int th or remove const declaration from Get_id function




"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow


cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief And You

QuestionRe: type castting and assignement problem Pin
kk_mfc1-Nov-06 19:26
kk_mfc1-Nov-06 19:26 
QuestionIntegrating the functionality of two dlls Pin
tom groezer1-Nov-06 18:05
tom groezer1-Nov-06 18:05 
AnswerRe: Integrating the functionality of two dlls Pin
dharani2-Nov-06 0:13
dharani2-Nov-06 0:13 
GeneralRe: Integrating the functionality of two dlls Pin
tom groezer2-Nov-06 8:26
tom groezer2-Nov-06 8:26 
QuestionRAS dial up and ADSL Pin
Benlahrech .Dj1-Nov-06 17:14
Benlahrech .Dj1-Nov-06 17:14 
AnswerRe: RAS dial up and ADSL Pin
PJ Arends1-Nov-06 19:03
professionalPJ Arends1-Nov-06 19:03 
GeneralRe: RAS dial up and ADSL Pin
Benlahrech .Dj2-Nov-06 13:35
Benlahrech .Dj2-Nov-06 13:35 
GeneralRe: RAS dial up and ADSL Pin
Benlahrech .Dj2-Nov-06 14:25
Benlahrech .Dj2-Nov-06 14:25 
QuestionPointer arithmetic and Optimisation Pin
flip1-Nov-06 17:13
flip1-Nov-06 17:13 
AnswerRe: Pointer arithmetic and Optimisation Pin
Michael Dunn1-Nov-06 20:04
sitebuilderMichael Dunn1-Nov-06 20:04 
GeneralRe: Pointer arithmetic and Optimisation Pin
flip2-Nov-06 16:28
flip2-Nov-06 16:28 
AnswerRe: Pointer arithmetic and Optimisation Pin
cmk2-Nov-06 11:55
cmk2-Nov-06 11:55 
GeneralRe: Pointer arithmetic and Optimisation Pin
flip2-Nov-06 16:31
flip2-Nov-06 16:31 
QuestionHow do i open a '2nd level' dialog in main dialog in a DLL? Pin
tojjite1-Nov-06 16:51
tojjite1-Nov-06 16:51 
QuestionActiveX Include Other ActiveXs Pin
Louai Haimour1-Nov-06 14:02
Louai Haimour1-Nov-06 14:02 
QuestionOracle 8i ODBC driver Pin
Charlie Curtis1-Nov-06 11:36
Charlie Curtis1-Nov-06 11:36 
AnswerRe: Oracle 8i ODBC driver Pin
Mark Salsbery1-Nov-06 13:09
Mark Salsbery1-Nov-06 13:09 

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.