I'm playing around with C++ and trying to make a small program that shows a variable, lets you change it, then shows you after you've overwritten it. But getline is underlined in red. It only stops being red when i comment out ; char x[256] = "Default Text";. I am using Visual Studio to develop and I would prefer if you use printf instead of cout when possible.
Current: Default Text
Enter Name: fff ggg hhh 890
You Entered: fff ggg hhh 890
Press any key to continue . . .
Exit code: 0 (normal program termination)