malloc to new

A

Alf P. Steinbach

* Gianni Mariani:

It's not a good idea to have global variables.

Isn't it pointless to dynamically allocate const sized arrays ?

In general, not necessarily (lifetime, size, number of them).

In the OP's case I don't know.

No further information is given.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
474,183
Messages
2,570,965
Members
47,512
Latest member
FinleyNick

Latest Threads

Top