>> cin.getline(string name, max char, terminating char);
>> cin.getline(string,256,'\n');
So if 256 is the maximum amount to write, and the user enters 256 chars, would the 256th char be cropped off and replaced with '/n'?
>> cin.getline(string name, max char, terminating char);
>> cin.getline(string,256,'\n');
So if 256 is the maximum amount to write, and the user enters 256 chars, would the 256th char be cropped off and replaced with '/n'?
I AM WINNER!!!1!111oneoneomne