Home Posts Topics Members FAQ
Post your question to a community of 470,862 developers. It's quick & easy.
i am facing some problem in concatenating the string ...can u solve this
ashishnh33 wrote: i am facing some problem in concatenating the string ...can u solve this std::string s1; std::string s2; std::string s3; std::getline(std::cin, s1); std::getline(std::cin, s2); s3 = s1 + s2; std::cout<<s3<<"\n";
Replies have been disabled for this discussion.