
-----------------------------------
capochavy
Tue Dec 09, 2008 8:59 pm

Crash when using multidimensional arrays
-----------------------------------
I am using Dev-C++ version 4.9.9.2 at school for an assignment, and whenever i try running a program that uses a multidimensional array, the program crashes, and an error box appears saying that there was an error with the program and it will need to be restarted, and that an error log was created. I have yet to find where that error log was created. What is wrong with my program?

This is my code:


#include 
#include 
using namespace std;
int main () {
    int location [2][11];
    for (int y = 0; y 