Skip to content

Instantly share code, notes, and snippets.

@mauriciopoppe
Created April 6, 2016 01:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mauriciopoppe/10fc47f6f636837fea404adccbd189af to your computer and use it in GitHub Desktop.
Save mauriciopoppe/10fc47f6f636837fea404adccbd189af to your computer and use it in GitHub Desktop.
#ifndef PROJECT_VECTOR_
#define PROJECT_VECTOR_
#include <string>
class Vector {
double x,y;
public:
Vector();
Vector(double,double);
Vector operator+(const Vector &other) const;
void print();
};
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment