Download MetaTrader 5

How to declare array with two data types string and double

To add comments, please log in or register
Your conversation partner speaks foreign language? Automatic translation will help you!
Dakhr
5
Dakhr 2010.10.15 18:04 
Question like in topic title
hasayama
610
hasayama 2010.10.16 00:43  
Dakhr:
Question like in topic title
struct string_double
{
   string str_val;
   double dbl_val;
}

string_double MyArray[SIZE];

//....

MyArray[0].str_val = "Hello, you are my #";
MyArray[0].dbl_val = 1;

To add comments, please log in or register