There's a number of issues in your code, but this little windo is a pain for this type of thing, but.....
In your fightchoice switch, you do a break before the case is done. Experience is never...
Type: Posts; User: zerodevide
There's a number of issues in your code, but this little windo is a pain for this type of thing, but.....
In your fightchoice switch, you do a break before the case is done. Experience is never...
You're doing a simple substitution cypher - been around for well over a thousand years.
Create an array with the translation - make it as big as an ascii table. Create a loop to read in the input,...
Tried that, but didn't seem to make a difference, plus the writting part (since we're writing to the same file were reading from - basic read and update) complains if we don't close the read before...
perror returned "no error" - which goes with the InArry.is_open() returning a 1 (which means it is open) <sigh>
Based on the code:
if (InArray.fail())
{
cout << endl<<"File could not be opened." <<endl<< endl;
we get the "File could no be opened." which means InArray.fail() is...
Having not done much file i/o, Im working with a student who is trying to read from a file, write to the file, and later be able to re-read the file. We can write as many times as we want, but after...