FILE Writing Error

C

CK

Hi EveryBody!
if u read from one file and write to another file using fgetc,fputc
for reading and writing ,but i add some character at the end of
file,how can i retify thi
by
CK
 
K

Kenny McCormack

CK wrote on 16/07/05 :

Would you please rephrase this in plain correct English ?

Oh, no, please don't. It wouldn't be nearly as entertaining if it did.
 
L

Lawrence Kirby

Hi EveryBody!
if u read from one file and write to another file using fgetc,fputc
for reading and writing ,but i add some character at the end of
file,how can i retify thi
by
CK

Change the code to avoid adding the character you don't want. Without
seeing your code there is no way we can tell why it isn't behaving in the
way you want. One possibility however is that you have a bug along the
lines of what is described in section 12.2 of the FAQ.

Lawrence
 
A

Anonymous 7843

Hi EveryBody!
if u read from one file and write to another file using fgetc,fputc
for reading and writing ,but i add some character at the end of
file,how can i retify thi
by
CK

Please post from the same account all the time so that
we can highlight your important articles and make sure
we don't miss them. Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,020
Latest member
GenesisGai

Latest Threads

Top