is there is any library function for saving a program?
hi.....
i want to know that is there is any library function to save the program output.for example i am writing a program below
#include <stdio.h>
#include <conio.h>
void main (void)
{
char string;
printf ("ENTER STRING");
gets (string);
for (i=0;i <10;i++)
{
printf ("THE STRING IS "%s",string);
}
}
ok then the user will input the string and it will appear as output ten times on the screen i want to ask that can i save that output by any library function or by any other means ? is it possible?
please reply me