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

Threaded View

  1. #13

    Re: Having trouble with a readin. Can't read in a matrix into vector of vector of int

    What outer while loop?

    Also, it's reading in a string. It won't like it if it push a string onto an int vector. What was the function again? atoi()? stoi()?

    Do you mean the

    while (fin >> temp)

    while loop as the outer loop?

    Also, won't it be reading in twice then with the fin >> temp and the getline() ?
    Last edited by jedipenguin; March 24th, 2012 at 10:35 PM.

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