Search:

Type: Posts; User: alleecs

Search: Search took 0.00 seconds.

  1. Replies
    11
    Views
    9,781

    I agree with you. But one thing I don't...

    I agree with you. But one thing I don't understand is why this problem is not detected by numerous memory debugger. I tried LeakTrace, Valgrind, Totalview, and even insure++, all of which didn't...
  2. Replies
    11
    Views
    9,781

    I have confirmed x[i] exist for all i in [0,n)...

    I have confirmed x[i] exist for all i in [0,n) through debugger.

    Though I am using a vector of lists in the code, I think the problem purley orginates from std::list.push_back(). As far as I know,...
  3. Replies
    11
    Views
    9,781

    In my current case, n = 20 and m is an integer...

    In my current case, n = 20 and m is an integer array of length n = 20 such that 1 <= m[i] <= 40 for all i in [0,20). Sorry I tried to abstract these facts since I knew they aren't the error factors.
  4. Replies
    11
    Views
    9,781

    The syntax looks alright to me. r is pushed back...

    The syntax looks alright to me. r is pushed back on the i'th list x[i].

    - EJ
  5. Replies
    11
    Views
    9,781

    seg fault from std::list.push_back()

    Hello,

    I'm a C++ newbie and having a hard time figuring out this bug.

    I am basically doing the following thing:




    std::vector< std::list<int> > x;
Results 1 to 5 of 5