Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The solution is actually so simple :D The problem is that cout tries to print out a symbol for uchar (maybe ascii?) and not a number. A simple cast to int solves it

 for(; it != itEnd; ++it){
     std::cout << (int)(*it)[1] << std::endl;
 }