Troubles with constrinction in C++.