Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <fstream>
- #include <iterator>
- #include <string>
- std::string B(const std::string& fname)
- {
- std::ifstream inf(fname);
- return std::string(std::istream_iterator<char>(inf),
- std::istream_iterator<char>());
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement