#include //for input and output to the screen #include //for input and output to files #include #include //class for strings using namespace std; //Prototypes. It's important to have prototypes for your functions before you declare main. void input(); void pointers(); void garbagecollection(); int main(){ //Just comment out the line that you want to run the tutorial. // input(); // pointers(); // garbagecollection(); } void input(){ string strinput; int intstring; cout << "We are testing how cin handles input. (enter ctrl-z to move on)" <> strinput; cout << strinput << endl << "return to start of loop" << endl; } //that should have demonstrated that cin will stop at whitespaces cout << "Let's look at how strings work"<length(): "<< strptr->length() << endl; cout << "(*strptr).length(): "<< (*strptr).length() << endl; cout << "------------------------------------------------------"<