Question: C++ Classes and Objects Syntax help: I have the following header with instructions on methods I must write in a .cc file. I believe that

C++ Classes and Objects Syntax help:

I have the following header with instructions on methods I must write in a .cc file. I believe that I have the concept down but am struggling on the syntax. I've given the errors that I'm receiving as well.

Header:

C++ Classes and Objects Syntax help: I have the following header with

My .cc file:

instructions on methods I must write in a .cc file. I believe

that I have the concept down but am struggling on the syntax.

Errors:

I've given the errors that I'm receiving as well. Header: My .cc

#include #include did you mean 'size'? { for(int =0; v.size-t(); ++1) size /Library/Developer/CommandLineTools/usr/include/c++/vi/vector:632:15: note: 'size' declared here size_type size) const _NOEXCEPT gradebook.cc:75:16: error: expected gradebook.ce:75:6 gradebook.ce:76:36: error: expected expression if((GradeBook.avg2 that.avg2) #include did you mean 'size'? { for(int =0; v.size-t(); ++1) size /Library/Developer/CommandLineTools/usr/include/c++/vi/vector:632:15: note: 'size' declared here size_type size) const _NOEXCEPT gradebook.cc:75:16: error: expected gradebook.ce:75:6 gradebook.ce:76:36: error: expected expression if((GradeBook.avg2 that.avg2)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!