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 cwinthread class? Explain its advantages.

0 Answers  


How do I get rid of microsoft visual c++ runtime library error?

0 Answers  


What is cmutex? How can we use it?

0 Answers  


What is a copy constructor? What is the need for it?

0 Answers  


TO start the build process in Developer Studio Which keyboard function is used ?

4 Answers  






What is the difference between turbo c++ and visual c++?

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  


How do I reinstall microsoft visual c++?

0 Answers  


What function is used to trap all mouse messages?

1 Answers  


What is the difference between serialization and deserialization?

4 Answers   Cap Gemini, HCL, MBT,


Explain pointer to the constant and constant pointer? Explain difference between them.

0 Answers  


What is vcredist?

0 Answers  


Categories