A little question: the C of PalmOS support the referencing of variables ?
I have the follow code in C++:
template <class T> void quicksortr( T &v, long izq, long der)
{
 long i, j, piv;
 if (der > izq)
 {   piv = v[((izq+der)/2)+1].clave;
     i = izq-1;
     j = der+1;
     for(;;)
         {
            while (v[++i].clave < piv);
            while (v[--j].clave > piv);
            if (i >= j) break;
            intercambio (v[i], v[j]);
         }
     quicksortr(v, izq, i-1);
     quicksortr(v, i, der);
 }
}
and want convert to palm, i delete the templates.
But i get the error:
                             parse error before `&'

Any idea?


--
Open WebMail Project (http://openwebmail.org)


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to