Hi, I've just started using MS VC++ 2010 express and I have a problem which when using Dev C++ I've never had...
VC++ doesn't allow me to allocate elements for an array using a variable as a subscript, like this :
int maxElements = 10;
char myArray[maxElements];
It says :
error C2057: expected constant expression
Is there a workaround for this? Am I better off using a different compiler such as Dev C++?
tnks
Dean