summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
592954d)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60500
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxStdInputStream in(file);
std::vector<std::string> words;
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));
std::copy(std::istream_iterator<std::string>(in),
std::istream_iterator<std::string>(),
std::back_inserter(words));