C program to copy the contents of a file, C/C++ Programming

C Program to copy the contents of a file:

void main()

   {

  ifstream fin("input.txt");

  ofstream fout("output.txt");

  char ch;

  while (fin)

      {

    fin>>ch;

    fout<

      }

    fin.close();

    fout.close();

   }

Posted Date: 10/19/2012 5:34:54 AM | Location : United States







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

Write discussion on C program to copy the contents of a file
Your posts are moderated
Related Questions
to calculate the amount to be paid by a customer buying yummy cupcakes for his birth day party

i want a c or c++ code for solving transportation problem using modified distribution method

I want MODI method''s coding in c++ using all concepts of c++..please help me its my project work...

1.1 A Few Notes: 1. Please test your program with various inputs prior to submission. 2. All group members must understand the entire project for interactive grading. Equal

write c program to do the following : -fill 2 dimensional array (square matrix array with size=4). -ask the user to enter any integer number and add this number to the diagonals -o

why c is middle level language?

Project Description: P2P media streaming browser (IE, Chrome, Firefox) plug-in needed that is compatible with Win Xp,7,8 that is Windows Firewall friendly Example like Swarm

Member Functions of a Class A member function of the class is similar as an ordinary function. Its declaration in a class template must explain its return value as well as the

#decode the code

what is a string?