could someone helpme,, with read .dat files

7 views
Skip to first unread message

Ayman

unread,
Aug 28, 2012, 4:37:21 AM8/28/12
to cvb...@googlegroups.com

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



Jigme.jpg
neghist_hsv16bins.dat
poshist_hsv16bins.dat
prog1.cpp
Reply all
Reply to author
Forward
0 new messages