I am not sure why this is so difficult for me. I am using Borland 4.5.2 (I am building a 16-bit app) , and I just want to check if a file exists and set a boolean that can be used later. I have found code snippets by 'Googling' but they don't work. Please incude any #include's that are required to make this work.
this doesn't work for me....
bool flag = false;
if( fin.is_open() )
in the above code's case, it assumes a later version of the fstream library than comes packaged with the Borland 4.5.2 I am using.