You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
CIniFile class:
This class provides methods for working with Windows *.ini files. It has a standard interface with simple methods.
Using the library:
- Copy the IniFile.mqh file to the MQ5\Include\ folder.
- Declare the CIniFil class instance in the code (don't forget to add the #include <IniFile.mqh> directive).
- Call its Init method with file name as parameter.
- Call methods for reading/writeing/checking/deleting the data.
- If you need to work with data arrays, declare a CArrayString class instance.
A simple example of use of the library is contained in Test_CIniFile.mq5.Author: Henadiy E. Batohov