Reply To: standard I/O

Home Forums C Programming standard I/O Reply To: standard I/O

#3392

Humayan
Member

What I would do is read in all characters until newline when I found the appropriate character:

char ch;
…..

// the next character you read will be from the front of the next line…