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

Is microsoft visual c++ important?

1016


What is vcredist_x86 exe?

985


What is visual c++ runtime error?

1130


What is microsoft visual c++ 2010 x86 redistributable?

959


Difference between critical section, mutex and semaphore.

1049


How do I reinstall microsoft visual c++?

933


What is microsoft visual c++ 2015 redistributable?

1037


Does visual c++ 2017 replace 2015?

928


What is the use of message map? Advantages of a message map.

948


What is cwinthread class? Explain its advantages.

962


What is the Use of the Developer Studio Editor?

2545


What is iunknown? Explain some of commonly used methods provided by iunknown.

1025


How you build a project using Developer Studio?

2229


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

958


Do I need microsoft visual c++ on my computer?

979