[share] embarrassing errors?
my most recent one
[Highlight=C++]int main()
{
Square Square1;
int x,y;
cout << "Set the x,y of the square\n";
cin >> x >> y;
Square1.SetX(x);
Square1.SetY(x); //
Square1.isSquare();
return 0;
}[/Highlight]
couldnt figure out why when i entered x and y and they were different, isSquare was still returning true, then dabid told me, felt like an idiot.
[Highlight=C++]int main()
{
Square Square1;
int x,y;
cout << "Set the x,y of the square\n";
cin >> x >> y;
Square1.SetX(x);
Square1.SetY(x); //

Square1.isSquare();
return 0;
}[/Highlight]
couldnt figure out why when i entered x and y and they were different, isSquare was still returning true, then dabid told me, felt like an idiot.



