Writing data in to a file
Char * file1="c://documentd//t1.txt"; // declaring the file path
long f1;
f1=fopen(file1, "a"); // opening the file in apend mode
fprintf(f1,"stored value is:%d", lr_eval_string("{param}")); // writing data in to the file
fclose(f1); // close the file
Comments
Post a Comment