Wednesday, September 7, 2011

#include ; ifstream to string

#include <sstream>
#include <fstream>
using namespace std;
int main()
{
    ifstream inStream("data.txt");
    string str;
    inStream >> str;

    return 0;
}

No comments:

Post a Comment