I am writing a program in C and my question is pretty straightforward: How to know if my next call to printf()
will exceed screen size?
That is, sometimes when you use print, the text may not fit in one screen. E.g. I have 4-5 strings to print and I would like to create a function that prints the entire text or prints until the text is cut off due to the screen size.