each object of the class hold iteger in the range 0to100 a set repesented internally as an array of ones and zeros array element a[i]is 1 if integer i is in the set and a[j]=0if j isn not in the set
I want to write programm in c++ that use overloading the class is integerset has aprivate data int set[101];?
Is this a homework assignment? Why don't you take a stab at it and then come back with more precise questions.
Also, for these types of questions, you will want to know this next time you form yours: http://catb.org/~esr/faqs/smart-question...
imperial
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment