0

Input getline \n

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

16th Apr 2022, 11:11 PM
William Owens
William Owens - avatar
1 ответ
0
Think I have fixed the newline from the getline().
17th Apr 2022, 2:22 AM
William Owens
William Owens - avatar