A new-initializer error

During the compiling process with the compiler gcc 4.1.2 and have the following error message: "error: a new-initializer may not be specified for an array"

SortedList<T> *lowest;
lowest = new SortedList<T> [Number] (nConfs); <--

How can I modify this part to delete this error?
closed account (S6k9GNh0)
 
SortedList<T>	*lowest[Number] = new SortedList<T> (nConfs);

That's a guess...I really never have asked that. :/
You have to rely on the default constructor. The code becomes:
SortedList<T>* lowest = new SortedList<T>[Number];
Topic archived. No new replies allowed.