Problem whit compilation

 

Hi, when I compile this code I get 2 erros

1.'tanh' - left parenthesis expected

2.'tanh' - semicolon expected

MT4 metaeditor build 471

Please help.

 
stentasch:

Hi, when I compile this code I get 2 erros

1.'tanh' - left parenthesis expected

2.'tanh' - semicolon expected

MT4 metaeditor build 471

  1. Current released build 625 - why haven't you upgraded?
  2. Maybe post the actual error messages that include the line number. No mind readers here. What you posted has no error.
    #import "AdaptradeBuilderLib.ex4"
       :
       double tanh(double x);
    #import
    :
        double HiddenNodes[];           // Hidden nodes
        ArrayResize(HiddenNodes, NHidden);  
    :
            HiddenNodes[i] = tanh(HiddenNodes[i]);
    

Reason: