I have a class CField and a class CBoard containing a 2d array of CField.
When I do this:
board(0,0)->Is (CField::CHECK)
I get a segfault in Is() method. GDB points me right after the &, so I think it's related to it. What's the cause?
Full code:
http://pastebin.com/vetShYsL - header
http://pastebin.com/pGNPpa8N - source