1)I suppose that these functions return maximum x and y screen coordinates.
But when I used them they returned 0.
cout<<getmaxx()<<" "<<getmaxy();
0 0
2)I used textcolor(2) and textbackground(1) after these codes.But the output of above code(0 0) was printed in these settings.Is it like this only or problem?
3)Also is to possible to create a window with
window(1,1,0,0);
I used first time graphics.h for these functions.Knows a little or nothing about using graphics in c++.