There are two getline functions which take delimiters in c++. ... The ifstream getline is only able to read up to the preallocated size of the buffer.
www.google.com.tw