Re: [ROOT] How to convert Object to char[] and backwards?

From: Nikolai Smirnov (Nikolai.Smirnov@cern.ch)
Date: Tue Sep 03 2002 - 10:49:10 MEST


On Mon, 2 Sep 2002, Mario Schubert wrote:

>   char *buf = new char(a.Length());

Are you sure that you want it ? Maybe

char * buf = new char[a.Length()];

is more correct ?

One more comment:

>   c_MsgSimple() {};

is better to write

c_MsgSimple() {}

--
Cheers, Nikolai



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:06 MET