Hi guys!
please tell me - how to determine the length of the input stream without reading simbols ? (for save the input string)
thanks in advance ))
vedro-compota
33
Posting Whiz
Recommended Answers
Jump to PostReading 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.
All 2 Replies
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
vedro-compota
commented:
+++++++++
+1
vedro-compota
33
Posting Whiz
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.