file1:
ABCVD
ABDDD
file2
adf
dfff
output:Code:appendFill(char *file1,char *file2) { }
file1:
ABCVD
ABDDD
adf
dfff
how to append one file into the other file?
it means joining two files.
file1:
ABCVD
ABDDD
file2
adf
dfff
output:Code:appendFill(char *file1,char *file2) { }
file1:
ABCVD
ABDDD
adf
dfff
how to append one file into the other file?
it means joining two files.
seek the end of file1, read from file2, and write to file1.
Code:cat file2 >> file1