Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- std::string add_len(std::string sub, std::string buf = "")
- {
- return "" + ( std::getline(sub, buf) ? buf + " " + std::stoi(buf.size()) + add_len(sub) : "" );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement