So, I want someone to be able to input a string and have it set to a variable. Can someone tell me how to do this both with any number of characters being allowed(if possible) and with a set number of characters?
Printable View
So, I want someone to be able to input a string and have it set to a variable. Can someone tell me how to do this both with any number of characters being allowed(if possible) and with a set number of characters?
show me what you've done so far.
Search google for std::string. That's all I'll tell you.
There's loads of different types and classes for strings that you could use. Do some research.
Thanks for the help guys.