Download MetaTrader 5
To add comments, please log in or register
Do you wonder how to use widgets? Read the article!
chinaski
839
chinaski 2013.01.29 02:08 

Hello, 

can't get a string member variable initialized.


///////////////////////////
/// my_pos 
///////////////////////////
class my_pos : public CPositionInfo
{
public:
    my_pos (string symbol="") : CPositionInfo()
    {
        _symbol=Symbol();
    }
public:
string _symbol;
};

 _symbol always empty.

 

What secret behind this ? 

Anybody can help ?

Thank you 

/
To add comments, please log in or register