C++ terminate called after throwing an instance of ‘std::out_of_range’ Simple Averaging code
Comp Sci 201 Student here. I’m running a simple averaging coded but I keep getting this error, any words of wisdom? Keep getting this error terminate called after throwing an instance of ‘std::out_of_range’ what(): vector::_M_range_check: __n (which is 0) >= this->size() (which is 0) after using an input of 4 4 4 – Seems like … Read more