Using getline() to read char array : cin getline « Console « C++ ... #include using namespace ...
www.java2s.com