program is to display the contents of file on a


Program is to display the contents of file on a screen:

Write a program to display the contents of file on a screen

void main()

  {

 clrscr();

 ifstream fin("ascii.txt");

  char ch;

 while (! fin.eof())

   {

   fin>>ch;

   cout<

   }

   fin.close();

  getch();

  }

 

 

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: program is to display the contents of file on a
Reference No:- TGS0174909

Expected delivery within 24 Hours