close
gcount()似乎僅能用在read ( ) 函式,不能用在write ( )函式.
file1.read(array,10);
cout<<"file1.gcount() ="<<file1.gcount()<<endl;
全站熱搜
gcount()似乎僅能用在read ( ) 函式,不能用在write ( )函式.
file1.read(array,10);
cout<<"file1.gcount() ="<<file1.gcount()<<endl;