Your main function doesn't have a type. It should be of the type integer. It also misses a return value. A return value isn't necessary, but it is recommanded. The compiler will assume the return value is 0.
I would change your main function like this:
1 2 3 4 5 6 7
int main() {
tabela();
cout << "h6110 w0r1d" << endl;
//The next line is to make sure the program doesn't exit within the second it opens
cin.get();
return 0;
}
But most likely the biggest problem is your array.
A C++ array starts at 0. So you define an array of strings with 3 elements. These elements would then be element 0, 1 and 2. You are using elements 1, 2 and 3. But element 3 isn't in the array, so it's a undefined part of the array. You need to correct the tabela function into this: