HosseinProgrammer
شنبه 28 مهر 1386, 13:56 عصر
سلام... میخواستم بدونم که چطور میشه در Visual CPP وقتی به انتهای فایل میرسیم متوجه بشیم؟
معادل در Borland C++:
ifstream file("ADDRESS");
[ other codes]
if(file.eof())
file.close();
معادل در Borland C++:
ifstream file("ADDRESS");
[ other codes]
if(file.eof())
file.close();