CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Kingdominth4

Search: Search took 0.02 seconds.

  1. Why would modifying a vector member of self-type cause this program to run infinitely

    So, I have this struct called store:


    struct Store
    {
    int position = -1; //graph position of that store node. Since all stores that are given as input have required fish_types
    //it...
  2. Re: How exactly does recursion work with iterators?

    Great! Good job. Also, I didn't see your previous reply. You were right by the way in all cases.

    I think, what you are addressing here, is something I figured out to. The number of free...
  3. Re: How exactly does recursion work with iterators?

    And a few more:

    10 7
    0 2
    1 8
    1 4
    2 8
    2 6
    3 5
    6 9
  4. Re: How exactly does recursion work with iterators?

    Thanks, I wasn't aware that using could be used like that. And thank you for polishing up the code. I agree, it looks a lot more legible.
  5. Re: How exactly does recursion work with iterators?

    100 70
    0 11
    2 4
    2 95
    3 48
    4 85
    4 95
    5 67
    5 83
    5 42
  6. Re: How exactly does recursion work with iterators?

    Thanks for summarizing the problem. I did not tackle the problem in the fashion you described. Though I wonder if your interpretation would be easier to solve.

    I apologize. I now realize that I...
  7. Re: How exactly does recursion work with iterators?

    Thank you for replying! How is this the case with unordered_set? Could you elaborate? Can reordering be avoided, and if not, does that mean unordered_set is not the appropriate data structure to be...
  8. Re: How exactly does recursion work with iterators?

    Hi! Thank you so much for replying to me post. I am sorry it took me so long to get back with you. I couldn't find the time 2 days ago to reply and apparently the site was down yesterday.

    I...
  9. How exactly does recursion work with iterators?

    Hello. So I'm working on a Hackerrank exercise: "Journey to the Moon". In which you are given a list of pairs of astronauts that are bounded and one has to traverse through the provided list and link...
Results 1 to 9 of 11





Click Here to Expand Forum to Full Width

Featured