I have a text input system that recognises and includes white spaces, however for formatting reasons i want to include the option to inlclude a new line and it still to be recognised as the same array.

My code is as follows
//includes
//setup etc
char TextString[256];
cin.getline(TextString, 256);


this works and gets the string with spaces but i want the users to be able to add a new line - pressing enter enters the text. I am stuck, please help
tia