lundi 8 octobre 2018

C++ Class Interface which can create N number of methods

I am working on creation of dynamic form in C++ which needs to make user entry N entries. The number N is based upon the application type decided by the user - assuming that all fields are of same type. The client will inherit that interface.

Hence I am trying to create an Interface (using templates or any other methods) but un-able to create such an interface.

Is the same possible - if yes please provide an example?

Aucun commentaire:

Enregistrer un commentaire