// Widename.cpp (c) Kari Laitinen // http://www.naturalprogramming.com/ // 1997-??-?? File created. // 2013-11-06 Last modification. #include using namespace std ; int main() { char name_from_keyboard[ 80 ] ; int character_index = 0 ; cout << "\n Please, type in your name: " ; cin.getline( name_from_keyboard, 80 ) ; cout << "\n Here is your name in a wider form: \n\n " ; while ( name_from_keyboard[ character_index ] != 0 ) { cout << " " << name_from_keyboard[ character_index ] ; character_index ++ ; } }