Hi,

I'm not well-versed in C++, so I need some help in programming in Splines.cxx in chart2.

There are already
    typedef ::std::pair< double, double >   tPointType;
    typedef ::std::vector< tPointType >     tPointVecType;
    typedef tPointVecType::size_type        lcl_tSizeType;

My data is in
    tPointVecType aPointsIn;
and the last valid index is
    lcl_tSizeType n;

Now I need a lot of for-loops from 0 to n. They iterate over a matrix of elements of type double, over an array of elements of type double, and over a vector of type tPointVecType, sometimes in the same loop. What is the correct type for the iterator? Should it be lcl_tSizeType or sal_uInt32? What is the implication of one or the other?

n can be as large as the count of Spreadsheet rows, theoretically, but will be smaller than hundred in most cases.

Kind regards
Regina



--
-----------------------------------------------------------------
To unsubscribe send email to [email protected]
For additional commands send email to [email protected]
with Subject: help

Reply via email to