hiya,
<source>
// presume that data.dat is not in my harddisk
ifstream fin("data.dat", ios::in);
if(fin.fail())
return false;
</source>
so ehm why doesn't it return false, it creates the file on my hard disk instead, what flag should i use in replace of ios::in?
many thanks, :)