Oh! Yes it is a csv file!! So I am supposed to type in the console XOR.csv!!!
Aaaaaa you are a star! Well done! Never underestimate the shortcomings of a novice!!!! lol
Really much obliged, thank...
Type: Posts; User: Kat007
Oh! Yes it is a csv file!! So I am supposed to type in the console XOR.csv!!!
Aaaaaa you are a star! Well done! Never underestimate the shortcomings of a novice!!!! lol
Really much obliged, thank...
So where is it desirable to keep them instead?
As for the other comment Im so new to debugger that half the time have no idea what it means when it points out mistakes. So in short no.
In any...
It is a good point, however C++ is case sensitive and the file name is XOR. Used a different one anyway and still no luck.
Just to be 100% clear: if my file names are XOR and XOR_Test (located in a file called MyFile on the desktop) what should I put in when the console prompts me?
Well I've changed it back to this, which is working fine:
ifstream file("FTSE_from_1984_training.csv"); // File for TRAINING
if(file.fail())
{
cerr << "Input file 'training' problem!"...
I am using the debugger and it fails on the first file.
So you want me to specify the full directory when console prompts for the file name?
Sorry not sure how to test it. But I have just used the file when it was hard coded into the program (as posted...
Can you suggest another way please? (For the user to specify the files).
OK thank you. I have checked and the files are located in the same folder as the program.
I am definitely entering correct names as well.
(I am not putting any quote marks around the name or...
Im too much of a novice so either would have actually been new terminology to me! (I think you mean for me to have done what I posted above?). Thank you
Can I open 2 files at the same time? Maybe the first one needs to be closed before I can read in second one?
It works fine if I say:
ifstream file("y=x2_positive.csv");
if(file.fail())
{...
Sorry I don't know what explicit and implicit paths means?
Please tell me why this is failing to open the files:
string trainingFile;
string testingFile;
cout << "Please specify the file you would like to use for TRAINING: " << endl;
cin >>...