You are viewing a single comment's thread. Return to all comments →
#include <iostream> #include <string> int main() { std::string a, b; std::cin >> a >> b; std::cout << a.size() << " " << b.size() << std::endl << a << b << std::endl << b[0] << a.substr(1) << " " << a[0] << b.substr(1) << std::endl; return 0; }
Seems like cookies are disabled on this browser, please enable them to open this website
Strings
You are viewing a single comment's thread. Return to all comments →