i have an urgent requirement,
i.e, i have a file which has a data, now i want to write the data to the top of the file. Can we do it ?
ex:-
file content:-
===========
abc
bbc
ccd
i have to write data (sssss) to file after writing it should be
now the file Content
===============
sssss
abc
bbc
ccd
this is a sample file , actull file content will have huge data in file.
i.e, i have a file which has a data, now i want to write the data to the top of the file. Can we do it ?
ex:-
file content:-
===========
abc
bbc
ccd
i have to write data (sssss) to file after writing it should be
now the file Content
===============
sssss
abc
bbc
ccd
this is a sample file , actull file content will have huge data in file.