Intializing Double Array TH2

Hi

I am trying to initialize something like

TH2F **hDims = new TH2F [vec.size()][vec.size()];

but I get

thanks!

Alex

http://root.cern.ch/root/html/TH2F.html
http://www.cplusplus.com/reference/std/new/operator%20new%5B%5D/
http://rosettacode.org/wiki/Create_a_two-dimensional_array_at_runtime
http://www.cplusplus.com/forum/articles/7459/
http://www.codeproject.com/Articles/21909/Introduction-to-dynamic-two-dimensional-arrays-in

Hi

Thanks for the reply, but cannot see how I can turn this to into a “working” one :wink:

Alex

And now?

Thanks bunch!!!

Cheers

-a