Check out example codes for "how to concatinate two strings in c++". It will help you in understanding the concepts better.
Code Example 1
#include <iostream> #include <cstdlib> std::string text = "hello"; std::string moretext = "there"; std::string together = text + moretext; std::cout << together << std::endl; >> hello there
Learn ReactJs, React Native from akashmittal.com