how i can design a user interface in vc++ for getting
inputs from users
Answer Posted / 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 View All Answers
What is a microsoft visual c++ 2008 redistributable?
What is the use of microsoft visual c++ 2015 redistributable?
What is microsoft visual c++ 2015 redistributable?
How do I reinstall visual c++ on windows 10?
What is mfc in vc++?
What are the advantages of a message map
Do you need microsoft visual c++?
What is the Use of the Developer Studio Editor?
Where can I find microsoft visual c++?
What is vcredist_x86 exe?
Is it safe to uninstall microsoft visual c++ 2008 redistributable?
What is visual c++ runtime error?
What is vcruntime?
What is a thread (VC++) and state the difference between Cmutex and Csemaphone?
How can we use cmutex?