Click here to Skip to main content
15,117,830 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
create a text file a.txt with some text in it. Now write a c program to copy the file to a new file called b.txt without using file pointer.

What I have tried:

i try to make text file but i dont know how to create text file without pointer
Updated 10-Dec-20 22:13pm

1 solution

Have a look at C unbuffered file I/O: open(2) - Linux manual page[^].

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900