This is a discussion on Dynamic Arrays within the C++ Programming forums, part of the General Programming Boards category; Originally Posted by Elysia But the OP has not mentioned such a thing, thus we are in the dark, hence ...
But again, guessing is pointless. We would probably all guess the same thing, but the point is that we don't know.
If the OP is required to use those things, then there is not much we can do. If not, then we should steer the OP onto the correct path.
We are trying to inquire whether we need to do that or not, so taking a wild guess here just won't cut it.
I am doing this for a class and the book that is assigned to help us actually really sucks. I've found reading stuff online and through forums helps to learn a lot more efficiently. I am a complete beginner to all of C++ and hence why some of my code rudimentary and basic.
On the bright side, I am learning a lot even though I am being difficult by asking so much. Thank you for baring with me.
auto * price = new double[items];