Error in compiling (E336)

Hello!
I got an error while compiling this simple program with a single array on it.
------------------------------------------------------------------------------
// Programi Vektori2
#include <iostream>
using namespace std;
int main()
{
const m=5;
int i,A[m];
cout << "Vektori i formuar\n\n";
for (i=0;i<m;i++)
{
A[i]=i*i;
cout << " A["
<< i
<< "]="
<< A[i]
<< endl;
}
cout << endl;
return 0;
}
--------------------------------------------------------------------------------

E336: col(8) declaration specifiers are required to declare 'm'|

I would really appreciate your help.
You must provide a type for m. const is merely a qualifier, not a type in itself.
i tried, but it's the same error again. thanks anyway.
No, it isn't. Post the new code.
Topic archived. No new replies allowed.