how i can design a user interface in vc++ for getting
inputs from users



how i can design a user interface in vc++ for getting inputs from users..

Answer / d.v.rama krishna

While Creating the user interface all the functions should
be public, and all the fuctions are pure virtual functions.

Here is the example code

#define interface struct

interface <inter face name >
{
virtual int add(int x, int y) =0;
};

class A : public <<inter face name>>
{
public:
.
.

int add (int x, int y);
};

int A:: add(int x, int y)
{
return x+y;
}

Is This Answer Correct ?    3 Yes 3 No

Post New Answer

More VC++ AllOther Interview Questions

What is a microsoft visual c++ 2008 redistributable?

0 Answers  


Explain pointer to the constant and constant pointer?

0 Answers  


What is mfc in vc++?

0 Answers  


What is persistence?

3 Answers  


How many microsoft visual c++ do you need?

0 Answers  






Explain the advantages of cwinthread class.

0 Answers  


What is cmutex?

0 Answers  


Where can I find microsoft visual c++?

0 Answers  


How do I remove microsoft visual c++ 2015 redistributable?

0 Answers  


I have to DLL one is COM dll and another is normal DLL. How I can identify which dll is normal DLL and which DLL is from COM DLL. please give me some clear picture on these

2 Answers  


What is the purpose of a C++ namespace?

2 Answers  


How do I uninstall and reinstall microsoft visual c++ runtime libraries?

0 Answers  


Categories