how save text file which is made by c and how add a new information in after saving it?

Ur question is completely unclear...!!!
Ar u talking abt appending text to an existing file ???

Simply Type


after manipulating with the file to save it...

And to append some data...
add "a" as mode in the fopen call eg:-

FILE *fd = fopen("file.txt","a");
Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.