char text[20]; // declare array of 20 chars cin.get(text, 20); // get 19 chars + NULL
char text[21]; // declare array of 20 chars cin.get(text, 21); // get 20 chars + NULL