I am learning to use TWINCAT 3 with C++ and as my first work, I decided open a .txt
file and get a number inside, and put on an string or an integer.
I have read all the documentation and have many questions. I discovered that I can't use the C++ libraries, just the TWINCAT functions. Then I got lost.
First: What are the exacts steps to Open a file in TWINCAT 3 with C++?
Second: How can I read the data in the file and put in an string or integer?
I would like to do that in a CycleUpdate.
I am sorry if it is a noob question.