i'd b lookin forward for the answers
Send instant messages to your online friends http://uk.messenger.yahoo.com
amount = fread ( buf, sizeof(char), BUFSZ, fi );
if (amount)
{
written = fwrite ( buf, sizeof(char), amount, fo );
if (written != amount)
{
result = COPY_ERROR; // out of disk space or some other disk err?
}
}
} // when amount read is < BUFSZ, copy is done
while ((result == COPY_OK ) && (amount == BUFSZ));
fclose (fi);
fclose(fo);
}
delete [] buf;
return(result );
}
Hope it will work ,Take Care
On 8/2/07, madeelch <made...@yahoo.com> wrote:
how do u tackle unicodes and special characters [example (alt +254)
onwards ] etc while making a copy of one file to another file .... by
using filing ??
when i tried to do it by reading characters one by one and riting them
to a new file i got new lines where thr were specials characters and
some times nothing ....
i'd b lookin forward for the answers