Thanks grumpy!!
I got the idea with containers. Adding the const in the c_str worked, I just had to change an internal iterator to a const_iterator. I'm still having a segmentation fault with the...
Type: Posts; User: yezaim
Thanks grumpy!!
I got the idea with containers. Adding the const in the c_str worked, I just had to change an internal iterator to a const_iterator. I'm still having a segmentation fault with the...
Dear all,
I'm having an issue using auto_ptr inside a container. I have a std::map with the following format:
typedef map<date, const MediatorEvent *> AtributeMap; // date is...
why don't you simply read it and store it in a char** instead? you will have the array filled the way you want, dont you?
I'm assuming you have a threaded-like environment, with fork or pthread_create...
Your problem is also known as "the busy barber", or "the sleepy barber", a classical subject of computer sciences....
I am assuming that the cameras doesn't move.
So, if you have a sequence of frames you have the difference between two
sequenced ones in pixels, frame by frame. This blur are moving things, those...
Sometimes, when you do a operation with left result as double, and expression
having a "long", some compilers might require a explicit cast:
long a;
double b = a / a;
Such things may not...