Using getline() the newline char is stored in the buffer. Does anyone know a way to discard the newline char with getline(). getdelim will not work per the man pages. Here is my example of using getline. https://code.sololearn.com/cfNw84teU6nc
4/16/2022 11:11:17 PM
William Owens1 Answer
New AnswerSololearn Inc.
535 Mission Street, Suite 1591Send us a message