ssercpp12 / Homework

Homework result for 12 sser cpp
1 stars 8 forks source link

Should the function 'output()' in 'Vector' output the sum of all elements of the vector? #1

Closed oath-jia closed 11 years ago

oath-jia commented 11 years ago

In the requirements document, we are asked to output the sum of all elements of the vector sometimes but not allways. So I don't know if I should output the sum using the function 'output()'.

omegaga commented 11 years ago

function output() will be implemented by header file. You do not have to implement it. If you have submitted a version with output() implemented, you don't need to modify your code, since our script will automatically remove this function in your .cpp file.