Download MetaTrader 5

#include <stdlib.mqh>

To add comments, please log in or register
Mohammad Soubra
33409
Mohammad Soubra  

Hello

 

I am confused why the here under library call is coming as an executed file: 

#include <stdlib.mqh>

 

can any body help me please, I would be appreciated for the help. 


 

I want to include the source file instead. as it is in the code above!

Drazen Penic
2724
Drazen Penic  

"stdlib.mqh" is a wrapper for the "stdlib.ex4" library.

Include file "stdlib.mqh" imports "stdlib.ex4" library which is located in the "libraries" folder.

So, when you include "stdlib.mqh" in your project, you also import "stdlib.ex4"  library.

Source for the "stdlib.ex4" library is located in the "Libraries" folder. You can include that source instead of "stdlib.mqh" and you will not see "stdlib.ex4" in the "Dependencies" tab, but that defeats the purpose of the library.

To add comments, please log in or register