What is command routing in MFC
Answer / bob
Check the Command pattern in Gof books, MFC almost use it in
the same way:
SubWidget in the dialog will catch it firstly, it will
forward it to Parent window(the dialog) if *request is not
for it or no handler defined.
This procedure runs recursively, until one handle it or pass
it to application object. Application will omit unknown
command by default
| Is This Answer Correct ? | 2 Yes | 1 No |
why to use operator overloading
What is the example of polymorphism?
what type of question are asked in thoughtworks pair programming round ?
What is difference between new and malloc?
#include <iostream> using namespace std; int main() { int a = 2; int c[5][5]; for (int x=0;x<5;x++) { for (int y=0;y<5;y++) { c[x][y] = x*y; } } cout << c[a][c[1][4]]; }
Round up a Decimal number in c++.. example Note = 3.5 is as 4 3.3 is as 3
3 Answers Accenture, Cognizant, IBM,
Conversion from a basic type to a class type may be achieved using______________
Write a c++ program to display pass and fail for three student using static member function
How do you achieve polymorphism?
How to reverse a sentence in c program ex: ram is a good boy answer: boy good a is ram
Where is pseudocode used?
//what is wrong with the programme?? #include<iostream.h> template <class first> class dd { first i; public: void set(); void print(); }; void dd< first>:: set() { cin>>i; } void dd< first>::print() { cout<<"\n"<<i; } void main() { dd <char>g; g.set(); g.print(); }