File write in C confusion -
Hello I work on the window, but the text file on Linux will be attached at the bottom of the text file I use at the top Code is code should use only C
FILE * fout; Fout = fopen ("dat.txt", "a"); Fprintf (prohibition, "& amp;";); Fclose (fout);
Please help Thanks
Errors returned from those system calls Check this - this code looks correct and also to check that you are not accidentally matching dat.txt anywhere in your code.
Comments
Post a Comment