Search found 4 matches

by AntonKulikov
Mon Mar 02, 2020 12:33 pm
Forum: C Programs
Topic: File operations (fopen, fscanf, fprintf, etc)
Replies: 7
Views: 4531

Re: File operations (fopen, fscanf, fprintf, etc)

But I do not see AM&PM time in this file. And it is very unpleasant ...
by AntonKulikov
Fri Aug 16, 2019 5:58 am
Forum: C Programs
Topic: File operations (fopen, fscanf, fprintf, etc)
Replies: 7
Views: 4531

Re: File operations (fopen, fscanf, fprintf, etc)

It is very, very sad... After all, we can see in the window title bar both the file name and the program execution time. Thus, no report on the production process using KMotion is impossible to do ... And the active state JOB_STATUS also appears when changing a hand tool, for example. Okay, I can th...
by AntonKulikov
Thu Aug 15, 2019 10:16 am
Forum: C Programs
Topic: File operations (fopen, fscanf, fprintf, etc)
Replies: 7
Views: 4531

Re: File operations (fopen, fscanf, fprintf, etc)

Wow! I did it! Thank you very much! :) But could you tell me if it is possible to obtain the following information in any format (for subsequent recording to a file): 1) Current time 2) Program execution time 3) The name of the executable program file (<program1.tap> for example) Thanks for the answ...
by AntonKulikov
Tue Aug 13, 2019 12:11 pm
Forum: C Programs
Topic: File operations (fopen, fscanf, fprintf, etc)
Replies: 7
Views: 4531

File operations (fopen, fscanf, fprintf, etc)

Hello! Where can I find detailed information regarding operations with text files? What is "wt", "rt", "r+" etc. What parameters of the fopen, fscanf, fprintf commands can generally take values How can I navigate the lines of a file, go to the beginning or end, insert an empty line, select and repla...