int a*;
a = malloc(3*sizeof(int)); a[0]=1; a[1]=2; a[2]=3; M = cv::Mat(3,1,CV_32S , a);
cout<< "correct answer:"<<endl; cout="" <<="" m="" <<="" endl;="" free(a);="" cout<<"problem:"<<endl;="" cout<<m<<endl;<="" p="">
This program results to: correct answer: [1; 2; 3] problem: [4; 0; 24411984]
WHY??????