Hi,
I wish to output a string from a textbox to another file, here is what I wrote:
FILE*myfile;
myfile=fopen("D:\\Profiles\\DqGw47\\Desktop\\hello.txt","a");
fprintf(myfile,"%s\n",textbox1->text);
fclose(myfile);
In my hello.txt:
Set wallpaper=
My problem is how can I control where to fprintf my string. In this example, how can I output the textbox text to file hello.txt so that the file become :Set wallpaper= "...." ,the ... is text from the textbox.
So can anyfren tell me how to control string output to that location?