Hello, Working on a hw assignment due in a couple days, program must read in integers from a file that may or may not have embedded commas in them, i.e 10 or 12,000. The program needs to grab the number from one file and create an output file with all the numbers with all the commas removed. for example, still giving 10 but also giving 12000. this is what I have so far, I'm still unclear about the while statement, also should I not be using the end of file function? is there an easier way to do that?
Thanks in advance.