Thanks 'LuckY' and 'major_small' your tips have solved my problem.
I was way out of the right path.... it seams that I've to buy some new books and trow my 10 year old college notes away.
This is how the code looks like now:
PHP Code:
ifstream source;
char *DT_Country = new char[20];
char *DT_Operator = new char[20];
source.open("Header.txt",ios::in | ios::nocreate);
if (source)
{
source.getline(DT_Country, 20, '\n'); if (DT_Country[0]=='\0') strcpy(DT_Country, "United States");
source.getline(DT_Operator,20,'\n'); if (DT_Operator[0]=='\0') strcpy(DT_Operator, "T-Mobile")
}