please tell me - how to determine the length of the input stream without reading simbols ? (for save the input string)
thanks in advance ))
Reading the input stream is the only standard way to do it. That means you have to dynamically expand the input buffer with realloc() while reading the input stream.
Ancient Dragon , thank you for the hint of the good option to solve this problem!))