Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

cout'ing a CvPoint2D32f variable

include <iostream>

using namespace std;

int main(int argc, char** argv) { CvPoint2D32f test = cvPoint2D32f(12,12); cout << test << endl; system("pause"); }

Anyone know why I can't cout test?

cout'ing a CvPoint2D32f variable

include <iostream>

using namespace std;Anyone know why I can't cout test in my code below?

#include <iostream>
using namespace std;

int main(int argc, char** argv)
{
    CvPoint2D32f test = cvPoint2D32f(12,12);
    cout << test << endl;
    system("pause");
}

}

Anyone know why I can't cout test?And what's the difference between defining test as above and defining it like CvPoint2D32f test = new CvPoint2D32f[144]? Thanks.

cout'ing a CvPoint2D32f variable

Anyone know why I can't cout test in my code below?

#include <iostream>
using namespace std;

int main(int argc, char** argv)
{
    CvPoint2D32f test = cvPoint2D32f(12,12);
    cout << test << endl;
    system("pause");
}

Anyone know why I can't cout test in my code above? And what's the difference between defining test as above and defining it like CvPoint2D32f test = new CvPoint2D32f[144]? Thanks.

cout'ing a CvPoint2D32f variable

#include <iostream>
using namespace std;
 int main(int argc, char** argv)
{
    CvPoint2D32f test = cvPoint2D32f(12,12);
    cout << test << endl;
    system("pause");
}

Anyone know why I can't cout test in my code above? And what's the difference between defining test as above and defining it like CvPoint2D32f test = new CvPoint2D32f[144]? Thanks.