No!
and you don't want to do that anyway
If you have to include files, you need to use #include one file by one, but is it possible to use a single line code and automatically include all include files inside a folder?
thanks
Yes, you can make a general defines.mqh and include all the files you use most. And then just include that file once.
No!
and you don't want to do that anyway
Yes, you can make a general defines.mqh and include all the files you use most. And then just include that file once.
Because you should keep your world clean. Don't include stuff you do not need. It slows down compile time and makes your EA bigger then what it needs to be.
My car does not have a coffee machine built in.
First you put everything on the same page but it get's too large, so then you start to divide it over includes, but then they get too many....
or you are a very bad programmer, or you're trying to build a mammoth of bizarre proportions. I understand this kind of approach with languages without OO support, but with MQL5, come on!
Please explain to us why 100 files in a libray...
Maybe we can help you to structure your code in a better way...
;)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
If you have to include files, you need to use #include one file by one, but is it possible to use a single line code and automatically include all include files inside a folder?
thanks