Click here to Skip to main content
15,924,452 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Is there a round function? Pin
#realJSOP11-Dec-01 4:06
professional#realJSOP11-Dec-01 4:06 
AnswerRe: Is there a round function? Pin
Alvaro Mendez11-Dec-01 4:09
Alvaro Mendez11-Dec-01 4:09 
GeneralRe: Is there a round function? Pin
Chambers11-Dec-01 4:13
Chambers11-Dec-01 4:13 
GeneralC++ operator Pin
Fred/M11-Dec-01 3:22
Fred/M11-Dec-01 3:22 
GeneralRe: C++ operator Pin
Ernest Laurentin11-Dec-01 4:08
Ernest Laurentin11-Dec-01 4:08 
GeneralRe: C++ operator Pin
Alvaro Mendez11-Dec-01 4:15
Alvaro Mendez11-Dec-01 4:15 
GeneralRe: C++ operator Pin
Fred/M11-Dec-01 4:42
Fred/M11-Dec-01 4:42 
GeneralRe: C++ operator Pin
Alvaro Mendez11-Dec-01 5:42
Alvaro Mendez11-Dec-01 5:42 
The solution is to add another assignment operator inside bb that looks exactly like the one in aa. Then you can call bb operator from there by casting the parameter to bb&:

virtual aa& operator=(const aa& c) throw()
{
   return operator=((bb&)c);
}


Regards,
Alvaro
GeneralRe: C++ operator Pin
Jonathan Gilligan11-Dec-01 4:55
Jonathan Gilligan11-Dec-01 4:55 
GeneralRe: C++ operator Pin
Fred/M11-Dec-01 5:18
Fred/M11-Dec-01 5:18 
GeneralRe: C++ operator Pin
Michael Dunn11-Dec-01 8:00
sitebuilderMichael Dunn11-Dec-01 8:00 
GeneralUnicode/MBCS compatibility Pin
DataPrasad11-Dec-01 3:18
DataPrasad11-Dec-01 3:18 
GeneralRe: Unicode/MBCS compatibility Pin
PJ Arends11-Dec-01 9:20
professionalPJ Arends11-Dec-01 9:20 
Generalsnapshot and dynamic recordset! Pin
mazy11-Dec-01 2:59
mazy11-Dec-01 2:59 
GeneralRe: snapshot and dynamic recordset! Pin
Carlos Antollini11-Dec-01 3:10
Carlos Antollini11-Dec-01 3:10 
Generalbeginner question : DocView Pin
Jerome Conus11-Dec-01 2:57
Jerome Conus11-Dec-01 2:57 
GeneralRe: beginner question : DocView Pin
Michael Dunn11-Dec-01 8:02
sitebuilderMichael Dunn11-Dec-01 8:02 
GeneralXP Buttons and Dropdowns Pin
11-Dec-01 2:33
suss11-Dec-01 2:33 
GeneralHollow in MFC. Please help. Pin
The_Server11-Dec-01 1:39
The_Server11-Dec-01 1:39 
GeneralRe: Hollow in MFC. Please help. Pin
Alvaro Mendez11-Dec-01 4:19
Alvaro Mendez11-Dec-01 4:19 
GeneralRe: Hollow in MFC. Please help. Pin
Michael Dunn11-Dec-01 8:04
sitebuilderMichael Dunn11-Dec-01 8:04 
GeneralUsing standard ActiveX (VC++ 6.0) Pin
DABMSC10-Dec-01 23:55
DABMSC10-Dec-01 23:55 
GeneralRe: Using standard ActiveX (VC++ 6.0) Pin
Michael P Butler11-Dec-01 0:21
Michael P Butler11-Dec-01 0:21 
QuestionHow do I change the page layout (page orientation) during printing? Pin
Youknowme10-Dec-01 23:14
Youknowme10-Dec-01 23:14 
AnswerRe: How do I change the page layout (page orientation) during printing? Pin
Bernhard10-Dec-01 23:59
Bernhard10-Dec-01 23:59 

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.