Like this (you may already know this, more than I do, but who knows =P) cin.getline(para, 150, '\n');