problam with cvinitmatheader
when i implement this program
include <iostream>
include <highgui.h>
include <core\core_c.h>
include <core\types_c.h>
using namespace std; int main() {
float vals[] = { 0.866025, -0.500000, 0.500000, 0.866025 }; CvMat rotmat; cvInitMatHeader( &rotmat, 2, 2, CV_32FC1, vals ); cout << M << endl; cin>>b;
return(0); } when i run it visual produce abnormal answer like this 1234awdedn455 rather than my matrix why?