My Question is very simple, how is getline(istream, string) implemented? How can you solve the problem of having fixed size char arrays like with getline (char* s, streamsize n ) ? Are they using temporary buffers and many calls to new char[length] or another neat structure?
See Question&Answers more detail:os