Take 2 of trying to remove blank linesAwesome thank you so much for your help the above works great.
Take 2 of trying to remove blank linesSo I'm trying to get my program to be able to have a txt file piped though in shell, and just put ou...
replacing two newlines with a single newlineSo I have tried #include <stdio> int main( void ) #define MAX_CHAR 256 { char c; char line[MAX_CH...
replacing two newlines with a single newlineI tried that but when I pass text though it still prints out empty lines. If I use this code instea...
replacing two newlines with a single newlineI'm trying to write a program for an assignment which takes standard input and writes only non-empty...
This user does not accept Private Messages