// Purpose: interface of wxStdInputStream, wxStdInputStreamBuffer,
// wxStdOutputStream, wxStdOutputStreamBuffer
// Author: Jonathan Liu <net147@gmail.com>
-// RCS-ID: $Id$
// Copyright: (c) 2009 Jonathan Liu
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
wxStdInputStream in(file);
std::vector<std::string> words;
- // read words from stdin
+ // read words from words.txt
std::copy(std::istream_iterator<std::string>(in),
std::istream_iterator<std::string>(),
std::back_inserter(words));