So I have errors that i`m not understanding why they are there. I need help ASAP
Errors:
line 24, 'source' was not declared in this scope
line 32, no matching function for call to 'Numbers::resize(std::size_t)'
line 36, prototype for 'void Numbers::resize(long unsigned int' does not match any class in 'Numbers'
line 9, candidate is: void Numbers::resize()
Numbers::Numbers(){
data = newunsignedlong[source.capcity]; //¿what's source?
no matching function for call to 'Numbers::resize(std::size_t)'
candidate is: void Numbers::resize() void resize(); //you said that resize doesn't takes parameters