Hello everyone. I am new to C++ programming, and am in need of serious help. This is a HW assisgnment I'm not going to lie. It's actually a big project:(
So I have to take a user name and a file name as input from the keyboard. Then the program needs to open the file and find the mean (or average) of all the values in the file. The program should ignore all non-numeric input in the file (a tough one). The program should write the user name and the mean to a new file enclosed in asterisks, followed by all the valid input from the input file. This problem should be solved without using an array or other method of storing all the values in memory.
From reading the first half of my book (where we are in the class) I've seen a lot of examples but knowing what symbols and {} go where. let alone getting the correct info from the file. I dont even know where to start.
Any help would be greatly apprecaited. this is what I have so far (please dont laugh):
Thanks for the help. It's really starting to look like a real program now:) It compiled great, now just one bug. when it ask's for file name it pauses. I should be able to debug from here! again thanks so much for the help!Your a Life saver kooth!!!