Hi
HI all, please I need someone to correct my code, it generate 0 errors, but it isn't executable :( i want use it with my project.
can not read .dat files ..
code is attachment with .dat files
Note: in line: 60 function: tHistogram *HistogramRead( const char* pSzFilename )
i changed it to const ,
because when it was only char *pSzFilename ,i got this error:
prog1.cpp: In function ‘IplImage* SkinDetect(IplImage*)’:
prog1.cpp:114:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
prog1.cpp:115:59: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
so, is there a relation when i change the char to const char*, with cannot read files ?
or .dat files is empty so return null ?
i cannot open .dat to check is contain data