#include "Position.h" Position::Position() { posSym = '0'; posSym = '0'; } Position::Position(char posS, char posN) { if (posS > 'H' or posN > '8' or posS < 'A' or posN < '1') throw "Impossible move"; posSym = posS; posNum = posN; } Position::Position(char posS, int posN) { if (posS > 'H' or posN > '8' or posS < 'A' or posN < '1') throw "Impossible move"; posNum = '0' + posN; posSym = posS; }