All Questions
2 questions
4
votes
1
answer
279
views
C++ Dynamic Array Class Testing
I'm creating a basic Dynamic Array class in C++, and I'd like to know if there are any bugs/memory leaks I haven't noticed yet.
dyn_arr.h :
...
3
votes
4
answers
21k
views
Simple class exercise - min, max, and average of vector items
This program calculates the min and the max value and the average of the items of a vector. It's an exercise from a book so I can't change the header file.
Is this code proper?
sales.h
...