desocupado
Magister
- Joined
- Nov 17, 2008
- Messages
- 1,802
So, you guys know this:
double happy_array[multiple*happiness];
is not allowed in C++. Only:
double fuck_you_array[const_value_of_dicks];
is.
Thing is, I have a class that takes a double* as argument, but I really need the number of elements to be defined at run-time.
Any ideas?
double happy_array[multiple*happiness];
is not allowed in C++. Only:
double fuck_you_array[const_value_of_dicks];
is.
Thing is, I have a class that takes a double* as argument, but I really need the number of elements to be defined at run-time.
Any ideas?