My code is:
If I:
Code:
// ofstream f_file ( "D:\\1_LotteryPrograms\\1_Fla_Mega_Money\\Highest_Frequencies.txt" );
ofstream out1;
out1.open("D:\\1_LotteryPrograms\\1_Fla_Mega_Money\\Highest_Frequencies.txt", std::ios::app);
ofstream out2("D:\\1_LotteryPrograms\\1_Fla_Mega_Money\\Highest_Frequencies.txt", std::ios::app);
I get the following errors:
Code:
Error 1 error C2065: 'f_file' : undeclared identifier 249
Error 2 error C2065: 'f_file' : undeclared identifier 257
Error 3 IntelliSense: identifier "f_file" is undefined 249
If I:
Code:
// ofstream f_file ( "D:\\1_LotteryPrograms\\1_Fla_Mega_Money\\Highest_Frequencies.txt" );
ofstream out1;
out1.open("D:\\1_LotteryPrograms\\1_Fla_Mega_Money\\Highest_Frequencies.txt", std::ios::app);
// ofstream out2("D:\\1_LotteryPrograms\\1_Fla_Mega_Money\\Highest_Frequencies.txt", std::ios::app);
I still get the same errors. I'm confused. Where exactly in my code do I put the append code?