I have problem of initializing a 2D matrix. I want to initialize matrix[400][400] but my Visual Studio doesn't allow me. There is a runtime error if I make any matrix that has more than 40,000 elements (400*100).
Can anyone please give me some hints to get around this problem?