raghavanp:
Hi,
I am new to MQL. I am trying to inlude iostream or STL like vectors. When I do #include <iostream>, i am getting message can't open "C:\Users\\MetaQuotes\Terminal\129CCEC886F792C\MQL4\include\iostream" include file
I understand that my code tries to find iostream in that path. But that wont be present there.
May i know how to do #include <iostream> or say #include <vector>
Thanks,
Are you talking about C++ "iostream" and "vector" header file ?
You can't do that. mql4/5 are independent languages, you can't use C++ code.
raghavanp:
Yes, I was talking about C++ iostream. Thanks for the information. May i know if there is any function that behaves similar to C++ "Set". I want to hold data in a collection without duplicates.
See mql5 Standard Library if you can find what you need.
Yes, I was talking about C++ iostream. Thanks for the information. May i know if there is any function that behaves similar to C++ "Set". I want to hold data in a collection without duplicates.
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
Hi,
I am new to MQL. I am trying to inlude iostream or STL like vectors. When I do #include <iostream>, i am getting message can't open "C:\Users\\MetaQuotes\Terminal\129CCEC886F792C\MQL4\include\iostream" include file
I understand that my code tries to find iostream in that path. But that wont be present there.
May i know how to do #include <iostream> or say #include <vector>
Thanks,