I have an assignment in my C++ class and the code I wrote
keeps running as an infinite loop. I don't know what I did
wrong. Any help is appreciated.
adding a break statement didn't help and i don't completley understand the whole sentinel data thing. When I run the program and enter the infile and outfile names the program just doesn't stop, it doesn't come back with all the return data, and when i open the file it just has a list of 'D's that go on forever.