Search:

Type: Posts; User: laserlight

Search: Search took 0.22 seconds.

  1. Replies
    12
    Views
    6,205

    hmm... that should imply that the stringstream is...

    hmm... that should imply that the stringstream is in a failed state, which is strange.
  2. Replies
    12
    Views
    6,205

    Okay, so given this program: #include ...

    Okay, so given this program:

    #include <string>
    #include <sstream>
    #include <iostream>

    int main()
    {
    using namespace std;
    int i = 5678;
  3. Replies
    12
    Views
    6,205

    Try printing s instead of out and you will...

    Try printing s instead of out and you will probably find that out.str() did not return an empty string.
Results 1 to 3 of 3