CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 15 of 21

Threaded View

  1. #15
    Join Date
    Dec 2013
    Posts
    14

    Re: Debug Assertion Failed! due to the use of ifstream

    Quote Originally Posted by 2kaud View Post
    In calcPayFixes, there are several lines of code like this
    Code:
    if (cnt <= payDates_.size())
    Are you sure this test should be <= and not < as the elements of the vector go from 0 to .size() -1?
    To be honnest, I cannot say since the whole code does not come from me. But I still working on this matter.
    Last edited by eBooster; March 12th, 2014 at 09:17 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured