sign in | join about | help | sitemap
Connecting Tech Pros Worldwide
Chiu's Avatar

File operations in C


Question posted by: Chiu (Newbie) on August 22nd, 2008 09:43 AM
I need to insert some characters in a text file, where can I get a list and details of all the functions for file i/o supported in C?
2 Answers Posted
newb16's Avatar
newb16 August 22nd, 2008 09:51 AM
Familiar Sight - 145 Posts
#2: Re: File operations in C

http://www.google.ru/search?q=funct...d+in+C&lr=&aq=f

The fourth link, on cprogrammin.com
or fwrite article on wikipedia (20-something-th link )
ps - there is no such function to insert some bytes in the middle and automatically push the rest of the file forward.
raddmadd's Avatar
raddmadd August 27th, 2008 06:20 PM
Newbie - 5 Posts
#3: Re: File operations in C

fwrite()
fread()
fopen()
fclose()
fseek()
getc()
putc()
fscanf
fprintf

are some ones you should check into. And then there's the ones included in the original language, but not ANSI.

Also check out Open Group's website for info on functions, such as:

http://www.opengroup.org/onlinepubs...fs/stdio.h.html
Reply
Not the answer you were looking for? Post your question . . .
197,045 members ready to help you find a solution.
Join Bytes.com

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 197,045 network members.
Post your question now . . .
It's fast and it's free

Popular Articles

Top C / C++ Contributors