I have a project where I need to reformat a plain text file.
for example,
Hello nice to meet
you.
Glad to be here.
will be reformatted to the following:
Hello nice to meet you. Glad to be here.
how can i write a code to remove the newline character at the end of each line? This needs to be written in terms of C-strings. Thank you!