0

I'm programming in C language(Code::Blocks). I don't want infinite loop. Loop should stop when screen is filled once.

I did it by checking my screen's resolution and adjusting loop conditions according to that. But now it's limited to that resolution. Even if I maximize my console window,it gets disturbed.

What can be the condition or approach to make it resolution-independent?

0 Answers0