View more random threads:
- MTH 603 3rd assignment
- CS302 Digital Logic Design Assignment No.2 Solution Spring...
- Assignment No. 04 IT430 E-Commerce Due Date:24/01/201
- CS403 Database Management Systems Assignment No.3 Solution...
- CS607 Assignment No. 04 Solution soon fall Due Date 9...
- CS302- Digital Logic Design Assignment # 3 solution fall...
- CS601 Assigenment No.2 Solution Fall Smaster 2012
- Eng201 assignment no 3 solution fall 2010
- mth202 assignment no 5 solution fall 2011 on 24-01-2011
- CS501 Advance Computer Architecture Assignment No.2 Fall...
Sponsored Links
#include<iostream.h>
#include<fstream.h>
main()
{
ifstream bill;
char file []="Elec_Bil.txt";
const int a=100;
char fullText[a];
bill.open(file);
if(!bill)
{
cout<<"Error the file is not exist"<<file<<endl;
exit(1);
}
while(!bill.eof())
{
bill.getline(fullText,a);
cout << fullText << endl;
}
bill.close();
system("pause");
}
There are currently 1 users browsing this thread. (0 members and 1 guests)