Đoạn lệnh đọc đoạn văn bản từ tập tin
FILE * f;char s[100];
f=fopen("BAITHO.txt","r");
while(!feof(f))
{
fgets(s,100,f);
cout<<>
}
fclose(f);