Prev: Shape Ups,Women's Skechers Shape Ups shoes with compare prices andbest survice!
Next: (Beginner) A study group
From: Francis Glassborow on 13 Aug 2010 10:52 PowerStudent wrote: > Hello, > I know, if you want to return an array from a function, you have to > create it per new[] and after using it you have to delete it with > delete[]. > Using new[] at the user level (i.e. when you are not writing low level library code) is usually a design error. And if the result is that you have to call delete[] you are even more in the area of low-level coding techniques. It pays to learn the facilities provided by the language (such as std::string and std::vector) |