i m trying to run this piece of code i have written and i m getting this error.. DK why
i m working on windows 7 32 bit
my IDE is codeblocks and the compiler i m using is gcc
thanks for all the helpers

```
#include <conio.h>
#include <iostream>
//#include <vector>
using namespace std;

class A{
public:
    int num[5];

    void operator[](int x){
        num[x]=3;
        cout << num[x] <<<endl;
    }
};

class B : public A{
public:
    void func(){
     (*this)[2];
    }
};

int main(){
B b;
}

```