reset password
Author Message
disrael
Posts: 44
Posted 14:48 Jan 31, 2015 |

"Class MySet has no member named 'size' "

I keep having issues with this. My other two constructors have been able to use .size(), but in my third constructor where the user inputs values is having issues. Any suggestions would be amazing. 

kknaur
Posts: 540
Posted 14:56 Jan 31, 2015 |

First did you qualify the constructor with the scope resolution operator?  Should be something like MySet::MySet(parameters).  If this isn't the issue, email me (Keenan) your code and I will take a look at it.

Last edited by kknaur at 14:57 Jan 31, 2015.
giraid
Posts: 39
Posted 18:00 Jan 31, 2015 |

did you forget to add () after size. cuz it happened to me.