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
1 Answer
0
Think I have fixed the newline from the getline().