you can stream numbers into a string, but you can't perform math on them... for the purpose of what he posted, a string consiting of numbers works
Well, it was this part that confuses me...
// declaring variables:
int a, b, c;
When compared with this...
cout << " enter a noun: ";
cin >> b;
To my mind, entering text into an Integer defined variable would cause a crash, though, I'll freely admit, I haven't got round to learning C++ yet, hell, they're making me code in VB.net at the moment, that's like Frontpage meets Access and a thoroughly horrible experience

Also, from personal experience, I find you tend to need to define the variable before you start filling them, however, this just may be part of how C++ works.
Edit2: Ah my mistake, they are defined twice, though b is still set as an integer.