Click here to Skip to main content
15,912,329 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Icon of dialog in taskbar Pin
ThatsAlok15-Apr-05 23:15
ThatsAlok15-Apr-05 23:15 
GeneralConfiguration/source control for a Visual Studio project Pin
Polly Parrot15-Apr-05 4:30
Polly Parrot15-Apr-05 4:30 
GeneralRe: Configuration/source control for a Visual Studio project Pin
Polly Parrot15-Apr-05 4:36
Polly Parrot15-Apr-05 4:36 
GeneralRe: Configuration/source control for a Visual Studio project Pin
Taka Muraoka15-Apr-05 19:53
Taka Muraoka15-Apr-05 19:53 
Questionwho can tell me WHY? Pin
simon wan15-Apr-05 4:13
simon wan15-Apr-05 4:13 
AnswerRe: who can tell me WHY? Pin
namaskaaram15-Apr-05 4:38
namaskaaram15-Apr-05 4:38 
AnswerRe: who can tell me WHY? Pin
Bob Stanneveld15-Apr-05 5:09
Bob Stanneveld15-Apr-05 5:09 
AnswerRe: who can tell me WHY? Pin
S. Senthil Kumar15-Apr-05 6:38
S. Senthil Kumar15-Apr-05 6:38 
It's because call() takes the paramater by value and not by reference. Because you've declared it to take the parameter by value, the passed object gets *sliced*. So even if you pass an instance of derived, it gets sliced and only the base part of the objects is passed to call. The sum function call then executes on the sliced base instance and so you get 47 and not 57

Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
QuestionMS FlexGrid : How to merge 4-cells to a single cell? Pin
jahfer15-Apr-05 4:13
jahfer15-Apr-05 4:13 
Generalmultithreaded tcp server Pin
Member 180081715-Apr-05 2:55
Member 180081715-Apr-05 2:55 
GeneralRe: multithreaded tcp server Pin
Alexander M.,15-Apr-05 3:35
Alexander M.,15-Apr-05 3:35 
GeneralShould be simple CEdit Pin
Punk Legend15-Apr-05 1:14
sussPunk Legend15-Apr-05 1:14 
GeneralRe: Should be simple CEdit Pin
toxcct15-Apr-05 1:40
toxcct15-Apr-05 1:40 
GeneralRe: (Modified)Should be simple CEdit Pin
namaskaaram15-Apr-05 2:50
namaskaaram15-Apr-05 2:50 
GeneralRe: Should be simple CEdit Pin
David Crow15-Apr-05 3:48
David Crow15-Apr-05 3:48 
GeneralRe: Should be simple CEdit Pin
Ravi Bhavnani15-Apr-05 4:10
professionalRavi Bhavnani15-Apr-05 4:10 
GeneralRe: Should be simple CEdit Pin
David Crow15-Apr-05 5:26
David Crow15-Apr-05 5:26 
QuestionHow to load picture to FlexGrid cell in MFC? Pin
jahfer14-Apr-05 23:51
jahfer14-Apr-05 23:51 
AnswerRe: How to load picture to FlexGrid cell in MFC? Pin
22491715-Apr-05 0:42
22491715-Apr-05 0:42 
GeneralRe: How to load picture to FlexGrid cell in MFC? Pin
jahfer15-Apr-05 1:42
jahfer15-Apr-05 1:42 
GeneralRe: How to load picture to FlexGrid cell in MFC? Pin
22491715-Apr-05 1:45
22491715-Apr-05 1:45 
GeneralGet line index of cursor in CRichEditCtrl Pin
Juanpast14-Apr-05 23:43
Juanpast14-Apr-05 23:43 
GeneralRe: Get line index of cursor in CRichEditCtrl Pin
22491715-Apr-05 0:00
22491715-Apr-05 0:00 
GeneralWM_MBUTTONDBLCLK please help me Pin
Member 68936114-Apr-05 23:08
Member 68936114-Apr-05 23:08 
GeneralRe: WM_MBUTTONDBLCLK please help me Pin
22491715-Apr-05 0:01
22491715-Apr-05 0:01 

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.