Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Answer
how to copy contents in one file in to another file in c?
R@HUL
9y
354
1
Reply
i want to copy contents in one file in to another file.
fPout=fopen("parse.txt","r")
fPin=fopen("dpl.txt","w")
do
{
a = fgetc(fPParse);
fputc(a,fPOut);
}
while(a!=EOF);
i'm using this method but it shows error while compiling like multiple declaration,type mismatch etc. Also i've tried fread function but it doesn't work please help.....
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
C# LINQ
datagrid