SyntaxFix
Write A Post
Hire A Developer
Questions
For string concatenation in C++, you should use the + operator.
+
nametext = "Your name is" + name;