C program to display the contents of file on a screen, C/C++ Programming

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();

  }

 

 

Posted Date: 10/19/2012 5:35:42 AM | Location : United States







Related Discussions:- C program to display the contents of file on a screen, Assignment Help, Ask Question on C program to display the contents of file on a screen, Get Answer, Expert's Help, C program to display the contents of file on a screen Discussions

Write discussion on C program to display the contents of file on a screen
Your posts are moderated
Related Questions
Floating  literal They can be written in common decimal as well as scientific notation (floating point representation). By default it is of type double. F, L is applied only to

#questiStarting with a blank solution, write a program to prompt the user for an employee number, hourly rate and hours worked. Compute and display the employee number, gross weekl

Here is a program that uses an inline function to compute and return the absolute value of its input argument. # include inline int abs(int x) {                  ret

Project Description: Currently seeking someone who can create me a software application (google chrome crx file_ that will auto add all shoe sizes to cart directly and if not av

How would I make a maze in C++? I would prefer to use the recursion maze generation algorithm if possible, thanks!

I have an assignment , can I send it

Prepare Windows Shell Extension Project Description: Skills required are C++ Programming, Windows Desktop, Windows API

A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrome

Binary search in array: - C program: Write a program in c to define binary search in array. void main()                 {                 clrscr();

I have a program and I want someone to fix it for me by using basic c language program.