无法在C ++中索引矩阵? [关闭]

C ++的新手,我正在提供矩阵索引作为用户输入。无法运行该脚本。 建议!

#include<iostream>
using namespace std;
int main()
{
    string fools[3][4] = {{"cat","dog","mon","junk"},
                          {"dad","mom","sis","fath"},
                          {"fox","cow","buff","chip"}};
for(int i=0; i < 3;i++)
        {
        for(int j=0; j< 4;j++)
        {
        cout << fools[i][j]<< " " << flush;
        }
        cout << endl;
        }
    cout << "Enter the matrix index:" <<flush;
    int num1,num2;
    cin >> fools[num1][num2];
    if(num1 == 0 && num2 == 2){
        cout << "Your name monday" << endl;
    }
     else if (num1 == 1 && num2 == 3){
        cout <<"no faith" << endl;
    }else if (num1 == 2 && num2 == 1){
        cout <<"your name cow" << endl;
    }else{
    cout <<"not valid"<<endl;
     }
    return 0;
}