Re: How can I create an XlfOper with a multi dimensional array ?

Posted by Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/How-can-I-create-an-XlfOper-with-a-multi-dimensional-array-tp3609p3610.html

On 02/21/05 15:35:48, Adjriou Belak wrote:
>
>   char * *dfs  =new char*[df.size()];
>   char * *zcs =new char*[zc.size()];
>   char * *dts =new char*[dt.size()];
>
>   for(int i=0; i< df.size();i++)
>    printf(dfs[i],"%c",df[i]);

I don't know the Excel API, but you probably want to use sprintf in the  
above loop...

Later,
        Luigi

----------------------------------------

Don't say "yes" until I finish talking.
-- Darryl F. Zanuck