Download MetaTrader 5

How can we manage lots of classes without using namespace ?

To add comments, please log in or register
Jin
1540
Jin  

Hello to everybody.

As much as I know, MQL5 does not suport namespace. Is it true?

If so, how can we manage lots of classes without being crazy? 

 

By now, my first idea is to use a prefix in all my classes, I mean, instead of naming a class like CMasterIndicator, I am naming it as XPTO_CMasterIndicator.

It's not a solution to the problem. Did anyone find a better solution? Any suggestion would be nice?

  

To MQL5 development team: help.

Thanks to all. 

Jin
1540
Jin  

I've just realized the existence of libraries ...

 

Elmo de Moraes
708
Elmo de Moraes  
Jin:

I've just realized the existence of libraries ...

 

Can you illustrate it?
To add comments, please log in or register