Checking array of object for "magic number"?Thank you both. It look's much safer if I just initialize all with 0, than to check all for 0xcccccc...
Checking array of object for "magic number"?I have a class Figure and from that class I have derived basic figures in chess (pawn, king, etc). I...
Class with an array from another classI'm sorry i have misunderstud debuger and the pointer this. What I wrote is the correct way to cre...
Class with an array from another classIn main i will do [code] int main() { int i=13; // i is the length that i will calculate before...
Class with an array from another classThe problem is that he creates array of Obj but with only one member. If I try to input 3, 2, 1 in a...