Click here to Skip to main content
15,896,912 members

Comments by cariz (Top 2 by date)

cariz 16-Sep-13 23:48pm View    
const bool BLCountryLocalized::openFile(string countryCode)
{
string fileName;
fileName.append(countryCode);
fileName.append(".txt");
if ((aPointer = fopen( fileName.c_str() , "a+" )) == NULL )
return false;
else
return true;
}
cariz 16-Sep-13 23:01pm View    
im using the console for input/output. i want the file to be save in specific location. is their any other way to do it in c++ im doing it with class