Search:

Type: Posts; User: yezaim

Search: Search took 0.02 seconds.

  1. Replies
    4
    Views
    1,930

    Thanks grumpy!! I got the idea with...

    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...
  2. Replies
    4
    Views
    1,930

    auto_ptr and const atributes in stl container

    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...
  3. Replies
    16
    Views
    2,320

    why don't you simply read it and store it in a...

    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?
  4. Replies
    2
    Views
    4,629

    I'm assuming you have a threaded-like...

    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....
  5. Replies
    6
    Views
    4,117

    The very beginning

    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...
  6. Replies
    13
    Views
    2,388

    Isn't a simple cast?

    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...
Results 1 to 6 of 6