Check out example codes for "how to concatenate two big strings without using strcat in c++". It will help you in understanding the concepts better.

Code Example 1

cin >> doubleNumber;
cin.ignore();  //ignores an end of line character 
getline(cin, stringName);

Learn ReactJs, React Native from akashmittal.com