|
Answer» Hey,
im having ISSUES declaring
const int MAX = 280000;
int main() {
string word[MAX]; . . . }
I get an ISSUE of STACK overflow, ive been TRYING to change the memory allocation but my syntax keeps failling, is this because you cant change memory allocation of a constant? im confused.
Any help would be great.
ThanksPlease disregard this i found out...
string *word = new string [280000];
thanks
|