hi!
i wanna define a int-array which size should be typed in by the user. so i want to define the array dynamicly. i tried
cin << n;
int x[n][n];
but it doesnt work. i get the error: constatn expression required in the definition line of x. i once have had the same problem but i dont know how i solved it back then. please help me as soon as possible. thnx
moke
i wanna define a int-array which size should be typed in by the user. so i want to define the array dynamicly. i tried
cin << n;
int x[n][n];
but it doesnt work. i get the error: constatn expression required in the definition line of x. i once have had the same problem but i dont know how i solved it back then. please help me as soon as possible. thnx
moke