C++ Function Declaration for Matrix
Hi Guys,
I tend to write my functions at the end of my main functions. I'm having a little trouble making my function declarations a little neater.
Lets say my function is:
void function(int height, int width, Mat matrix, Mat matrix2, string stringName){
//code
}
I tried declaring
void function(int, int, Mat, Mat, string);
but this doesn't work. How do you put the argument for a matrix?
Thanks in advance guys!
what are you using? windows? On ubuntu 14, kdevelop it works nice with
function(1,2,cv::Mat(),cv::Mat(),"");
Is it a function in a class? How do you call it? Is it called in another part of the code where you have not include the header where the function is declared?