A simple and easy-to-use OOP example of working with files as one kind of "stream".

- 2016.10.21
- //www.mql5.com/en/users/marketeer">
- www.mql5.com
A simple and easy to use OOP example of working with files as a type of "stream".
It seems to be covered with too thick a layer of OOP to be understandable. Explain, what is the point? Well, you have wrapped everything in OOP, but the principle of working with files has not changed.
What is the point of posting this link to this article here? The link is not quite on the topic of the article.
It seems too thickly covered in OOP to be understandable. Explain, what is the point? Well, they wrapped everything in OOP, but the principle of working with files hasn't changed.
What is the point of posting this link to this article here? The link is not quite on the topic of the article.
It's about file handling, so I posted it.
By the way, there are new high-level functions FileLoad and FileSave, which save developers' time and simplify code a lot.
But there is no word about them in the mql5 help....
Will there be any for 4?

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
New article MQL5 Programming Basics: Files has been published:
This practice-oriented article focuses on working with files in MQL5. It offers a number of simple tasks allowing you to grasp the basics and hone your skills.
After re-naming the file, open it. It opens in Notepad editor. Write 2-3 text lines to the file and save it. Make sure that ANSI encoding is selected in the drop-down list at the bottom of the Save As window (Fig. 1).
Fig. 1. Saving a text file in Windows Notepad. The red arrow shows the selected file encoding
Author: Dmitry Fedoseev