| Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date | |
| All threads index page 2 | |
Hahaha what a shame!!!!! :D Yeah, it was meant to instantiate an array! I fixed it and now it works... Thanks a lot!!!! ----- Mensagem original ---- De: Andrew Medico <a.medico@xxxxxxxxx> Para: Qt Interest List <qt-interest@xxxxxxxxxxxxx> Enviadas: Quinta-feira, 6 de Março de 2008 2:01:45 Assunto: Re: Memory problems using QList On Wed, Mar 5, 2008 at 9:35 PM, Marcos Aires Marchesini <marcosmarchesini@xxxxxxxxxxxx> wrote: > cellVarData = new float(cellVariables * cellSimTime); Did you mean to instantiate an array here? -- [ signature omitted ]
On Thursday 06 March 2008, Marcos Aires Marchesini wrote: > Hahaha what a shame!!!!! :D > Yeah, it was meant to instantiate an array! I fixed it and now it works... > > > On Wed, Mar 5, 2008 at 9:35 PM, Marcos Aires Marchesini > > > > <marcosmarchesini@xxxxxxxxxxxx> wrote: > > > cellVarData = new float(cellVariables * cellSimTime); > > > > Did you mean to instantiate an array here? <joke> I'm sure that if he meant to instantiate an array he would have used std::vector<float> ... he just wants a float allocated on the heap and initialized with a value :) </joke> Anyway nice spotting. -- [ signature omitted ]
Attachment:
signature.asc
Description: This is a digitally signed message part.