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

What is a microsoft visual c++ 2008 redistributable?

1003


What is the use of microsoft visual c++ 2015 redistributable?

988


What is microsoft visual c++ 2015 redistributable?

1133


How do I reinstall visual c++ on windows 10?

1008


What is mfc in vc++?

1119


What are the advantages of a message map

1026


Do you need microsoft visual c++?

1081


What is the Use of the Developer Studio Editor?

2612


Where can I find microsoft visual c++?

997


What is vcredist_x86 exe?

1050


Is it safe to uninstall microsoft visual c++ 2008 redistributable?

1094


What is visual c++ runtime error?

1207


What is vcruntime?

1032


What is a thread (VC++) and state the difference between Cmutex and Csemaphone?

1045


How can we use cmutex?

975