Well i have finally sorted out my program so it will put numbers into an array, and also output them to a text file.
The problem is it only inputs 1 set of numbers!
#include <iostream.h>...
Type: Posts; User: KellyWhite1
Well i have finally sorted out my program so it will put numbers into an array, and also output them to a text file.
The problem is it only inputs 1 set of numbers!
#include <iostream.h>...
Well i looked around a bit more added what i thought could work, but still nothing.
why cant i output the numbers in the array to a new text file? Does the array even work did i do it right?
...
Banging my head off the desk doesnt seem to help :p
I'm trying to find out what i am doing wrong, the OFname and IFname are used in getting a valid filename from a user, what i need to know is...
Well i guess i should say i dont have a clue how to even begin making an array!
Here is what i have done, mainly getting the input output file open, i know it's a mess but i havent been doing this...
Heya im attempting to work out how to read data from a text file into an array, after reading many sites and attempting it myself my brain is starting to hurt :p
Say i had a text file containing...
Hi guys, where to start!?
The problem:
1 input text file containing a name (firstname surname), followed by 12 integer numbers.
Sort the first 6 numbers, pick the highest 4 out of them,...