diff options
| author | manzerbredes <loic.guegan_secondary@yahoo.fr> | 2015-05-01 18:19:32 +0200 |
|---|---|---|
| committer | manzerbredes <loic.guegan_secondary@yahoo.fr> | 2015-05-01 18:19:32 +0200 |
| commit | 01b25accba1a5329e220aa647255d2c2b284c16e (patch) | |
| tree | 85fe233359934295830ee7b109d0cbb908a7d66a /src/main.cpp | |
| parent | 40d48a2d4f477beec0e387114f4335ab1aab1ab6 (diff) | |
Add operator overload squeleton
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 26062a9..217fe81 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -10,11 +10,26 @@ #include "./Controllers/ConsoleController/ConsoleController.hpp" //----------------------------- +#include "./Model/Cell.hpp" +//#include "./Model/Elements/StringElement.hpp" //----- Start ----- + + int main() { + Cell<StringElement> cell1("loic"); + Cell<StringElement> cell2("loic"); + + + if(cell1==cell2){ + std::cout << "Egale" << std::endl; + } + else{ + std::cout << "Différent" << std::endl; + } + //Init random srand(time(NULL)); |
