You must learn some coding, but I will give you some tips. With the function
strchr you get the occurance of a char in a string. With that information you can make a new string with left and right part
without the char you want to eliminate. If you can use libraries than you can use
replace with an empty char ("").
Look and learn the meaning of
ASCII-characters to find the tabs and new lines.
Good luck with your homework.