Expand|Select|Wrap|Line Numbers
- void Set::getData(Set& tempSet) const
- {
- for (int i = 0; i < size; i++)
- tempSet[i] = set[i];
- }
That code gives me this error: no match for 'operator[]' in 'tempSet[i]'
What am I doing wrong? Thanks for any help in advance.