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
what is virtual datatype


C Program for TOTAL  & AVERAGE IN THE ARRAY  #include stdio.h> #include conio.h> #include string.h> void main() {           int i=0,n[100],limit=0,a=0;

Write a program to calculate the timetable for numbers 1 -> 10 and display them as follows. Your solution should use for do loops      #include stdio.h void main() {    char p

What about Virtual Destructor? describe it.


Spider webs have two types of silk, sticky silk and strength silk, spiders do not move on the sticky silken threads only on the strength threads. Assume one type of spider creates

There is a pebble merchant. He sells the pebbles, that are used for shining the floor. His main duty is to take the length of the room’s sides. But he sometimes mistakes doing that

Verifone pos offline mod vx670 Project Description: I want a programmer who will build custom application for Offline VX670 to collect and save info+pin 1) Press the am

getting a palindrome using minimum replacement