>If such codes would deal only with smaller files, how do i get along with big files? lets say joining 2 text files of 300Mbytes in size each? Coz ill be working with such big files. TIA
Depends on the available memory on your machine this solution would still probably work. But better use low-level functions such as fopen, fread and fclose(). Check help on them.
If it's not broken, fix it until it is.
My Blog