How to declare array with two data types string and double

 
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;

Reason: