Can any bady help me ?

System : windows

///////////////
void main( ) {

   // Sequence of Sequence of Any

   Sequence< Sequence< Any > > aValues(2);

   Sequence< Any > aValues2(2);

   aValues2[0] <<= (double) 1.1; aValues2[1] <<=
OUString::createFromAscii("Hello");

   aValues[0] = aValues2;

   aValues2[0] <<= (double)2.2; aValues2[1] <<=
OUString::createFromAscii("Hi");

   aValues[1] = aValues2;

   OUString ouStr;

   aValues[1][1]>>=ouStr;

   OString oStr = ::rtl::OUStringToOString(ouStr,RTL_TEXTENCODING_ASCII_US);

   printf("The string aValue2[1] is %s\n",oStr);

   getchar();

}


[image: seq.png]



-- 
 作智慧的减法 ...

                体会生活的微妙的富足  ...

      嗯 ...

Reply via email to