Created
April 6, 2016 01:07
-
-
Save mauriciopoppe/10fc47f6f636837fea404adccbd189af to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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