M
memocan
#include <iostream>
using namespace std;
int x[][]; //global variable matrix
int main()
{
x= new float [1][2]; //initialize the size now
}
I am getting the error
" declaration of `x' as multidimensional array must have bounds for
all dimensions except the first"
Can someone explain why??
Thanks;
Mehmet Canayaz
using namespace std;
int x[][]; //global variable matrix
int main()
{
x= new float [1][2]; //initialize the size now
}
I am getting the error
" declaration of `x' as multidimensional array must have bounds for
all dimensions except the first"
Can someone explain why??
Thanks;
Mehmet Canayaz