how to create a new file including content from reading another file !?
Hi, I am just confused how we can create a file when we read a exist file. For example: I got a file named a, so when I read the file and create a new file; which is included one line with the name as file "a"...Could any pros help me out this problem !? Thanks a lot. :study:
|
programming guide's
Bruce Eckels Thinking in C++/Java are free ebook or html download that explains beginner programming/computer science I+II concepts such as file input and output. iostream and fstream are 2 header files used for c++ but this could have changed.
Hope this helps; rico001 |
cat oldfile > newfile
Or maybe I did not understand your question??? |
All times are GMT -5. The time now is 06:36 AM. |