无法进行文件操作,该如何处理

无法进行文件操作程序无法创建和读取ntfs分区上的文件。代码如下:ifstreamfoutfout.open( f:\array.txt

无法进行文件操作
程序无法创建和读取ntfs分区上的文件。代码如下:
ifstream   fout;
fout.open   ( "f:\array.txt ");
srand   (   (unsigned)   time   (   NULL   ));
if   (fout)
{
for   (int   i   =   0;   i   <   100000;   i++)
{
fout < <rand   ()   %   100000 < <endl;
}
cout < <fout.is_open   () < <endl;
}
else
{
cerr < < "error:   unable   to   open   input   file. " < <endl;
return;
}
fout.close   ();

[解决办法]
"f:\\array.txt "
兄弟,别太浮躁了。编程是一个极需要沉得住气的行当。