I tryed the code that dwks said, and it work perfectly now.
Thanks alot fgw_three and dwks for the help. :)
Type: Posts; User: SPIRIT6666
I tryed the code that dwks said, and it work perfectly now.
Thanks alot fgw_three and dwks for the help. :)
I have declared a text file (named textfile) in my void main.
But I want to be able to write in that text file from a function.
I tryed:
WriteTextFunction(textfile);
And for the function:
...
Hey I got a question about fscanf.
If I got a text file that got 3 lines (one number each line) and I do:
fscanf(ftext,"%d",&firstnumber);
fscanf(ftext,"%d",&secondnumber);...
Hey I need help to define variable when numbers are in a text file.
What I need to do is:
Open a text file that there is only one line, its write: 1000,0.15,5
I need to read the line and...