MoNur (0)

I'm new to C++ and I need your help! whenever I try to use size in my code it says size is undeclared. how should I declare it?!

My head is about to explode!!!!

You are viewing a single comment. View All
mwilki7 (865)

Arrays don't have information about themselves other than what the first element is. You will have to keep track of its size.

Would you mind adding some indentation to your code? It would make it easier to see.
Also, what does size(storSpace) do?