Longest length string accepted by cin/cout & istream objects

What is the longest length of a string accepted by istream objects, particularly cout and cin?
Theoretically, infinite. In practice, it depends on how much memory you have.
Topic archived. No new replies allowed.