Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How do I uninstall visual c++?

972


How to create a DLL in C++.net 2005 which we can use in VB 6.0 application ?

2225


Do I need the microsoft visual c++?

1025


What is cwinthread class?

1161


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

988


How can we use cmutex?

963


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

1082


What is visual c++ redistributable?

1155


What is visual c++ 2008 redistributable x64?

1023


What is vcredist?

1132


Is microsoft visual c++ a virus?

1163


What is difference between c++ and vc++?

1214


How do I change visual code font?

1084


What is vcredist_x86 exe?

1038


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

1091