#include int main() { char c = 'r'; char s[] = "r"; cout << "carattere = " << c << endl; cout << "\t" << (int)c << endl << endl; cout << "stringa = " << s << endl; cout << "\t" << (int)s[0] << "\t" << (int)s[1] << endl << endl; /****************************************************************/ char str[32]; cout << "Immettere una stringa: "; #if 1 cin.getline(str, 32); #else cin.getline(str, 32, '?'); #endif cout << "Ecco la stringa: " << str << endl << "Numero caratteri letti: " << cin.gcount() << endl; return 0; }