In my application, i have a member variable double *m_pTab.
firstly, i have created a function which take 1 parameter(parameter1) which be used to allocate memory as follow: m_pDate=new double[parameter1], and after, in the same function, i modify the value of the pointer. For example, *(m_pTab+i)=value_i;
Now, i would like to use this member pointer in another function with the affectation done above, it's my pb, because i don't know how looks like the syntax of this kind of operation.
So, is anybody could explain me how to solve my problem?
thanks in advance
jayjay
firstly, i have created a function which take 1 parameter(parameter1) which be used to allocate memory as follow: m_pDate=new double[parameter1], and after, in the same function, i modify the value of the pointer. For example, *(m_pTab+i)=value_i;
Now, i would like to use this member pointer in another function with the affectation done above, it's my pb, because i don't know how looks like the syntax of this kind of operation.
So, is anybody could explain me how to solve my problem?
thanks in advance
jayjay