I'm having some sort of problem with the code bellow....
source.open("Header.txt,ios::in | ios::nocreate);
if (temp == 'EOL') DT_Country = "United States";
else DT_Country = temp;
The idea is to check if a specific Input file exists and if it exists, copy the content of the first line to an Array. If the first line is empty, put "United States" on the variable DT_Country, if the line is not empty, copy the content of that line to the variable.
The problem is that somehow i'm not being able to evaluate the 'EOL' condition.... i've alredy tryed with '\n' with 'EOL' and 'eol' and the program just crash on run time..... it doesn't eaven gives me an error... just crash......
Please, help needed...