From 01b25accba1a5329e220aa647255d2c2b284c16e Mon Sep 17 00:00:00 2001 From: manzerbredes Date: Fri, 1 May 2015 18:19:32 +0200 Subject: Add operator overload squeleton --- src/main.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/main.cpp') 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 cell1("loic"); + Cell cell2("loic"); + + + if(cell1==cell2){ + std::cout << "Egale" << std::endl; + } + else{ + std::cout << "Différent" << std::endl; + } + //Init random srand(time(NULL)); -- cgit v1.2.3