/*---------------------------------------------------------------- Contract: main: void -> int Purpose: playing with C strings and the standard string class Examples: demo, so not really applicable By: Sharon M. Tuttle last modified: 12-7-05 -----------------------------------------------------------------*/ #include <iostream> #include <string> using namespace std; int main() { string name; name = "Spam"; cout << name << endl; return EXIT_SUCCESS; }