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 visual c++ redistributable?

588


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

619


Difference between critical section, mutex and semaphore.

636


How many microsoft visual c++ do you need?

585


What is vc++ programming?

692






What is microsoft visual c++ redistributable and do I need it?

546


Is microsoft visual c++ important?

640


Where can I find microsoft visual c++ on my computer?

603


What is vcredist_x86 exe?

612


Explain some of commonly used methods provided by iunknown.

518


Can I uninstall visual c++ 2005?

575


What is microsoft visual c++ 2013 redistributable package x64?

552


Can I delete old microsoft visual c++?

554


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

559


What is microsoft visual c++ 2015 redistributable package x64?

563