Can someone solve the one errors I am getting:
_______________________________________________________________________
2DVector.cxx:20:10: error: variable has incomplete type 'Vector'
Vector vec;
_____________________________________________________________________ ^
#include <iostream>
#include <stdlib.h>
using namespace std;
struct Vector;
int magnitude;
float angle;
// Given an input vector vec, compute the magnitude and angle and put them in
// *magnitude and *angle.
void calculateMagAndAngle(const Vector &vec, double *magnitude, double *angle);
That means you found other errors with your program. It is common to fix one error and have several more pop up after. I am pretty sure what they are simply based on the change you made, and without looking at your code.
Someone would probably be more willing to help better if you post the errors and use code tags for your code.