while (fgets(line, LINELEN, inputFile)){
printf("%s$", line)
}
I am trying to read a file and print it out to the console as a CAT command. In this case I wanted to put a dollar sign at the end of every line, but the dollar sigh just happened to print out at the beginning of every line. Could you guys show me how to fix this. Thanks a lot!