I would like to know how to replace the text inside the "printf"statement with a variable which is a double.
its ungent thanksCode:#include <stdio.h> int main(void) { /* redirect standard output to a file */ if (freopen("OUTPUT.txt", "w", stdout) == NULL) fprintf(stderr, "error redirecting stdout\n"); /* this output will go to a file */ printf("This will go into a file."); /* close the standard output stream */ fclose(stdout); return 0; }



LinkBack URL
About LinkBacks


