This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | Next revision Both sides next revision | ||
|
cpp:vector_overloading [2021/05/24 07:29] gthanos |
cpp:vector_overloading [2021/05/24 07:30] gthanos |
||
|---|---|---|---|
| Line 6: | Line 6: | ||
| #include < | #include < | ||
| using namespace std; | using namespace std; | ||
| + | |||
| + | #ifndef _VECTOR_HPP_ | ||
| + | #define _VECTOR_HPP_ | ||
| class Vector { | class Vector { | ||
| Line 23: | Line 26: | ||
| void print() const; | void print() const; | ||
| }; | }; | ||
| + | |||
| + | #endif | ||
| </ | </ | ||