Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

the official way to do it would be:

int *p = mat.ptr<int>(); // pointer to 1st element