I have a random question, but how would you link a string into a char?
To explain the program, it reads from a standard input character by character. Then it rewrites the it to make the output characters from uppercase to all lowercase..

if you would like to see what i have written so far, here it is.

#include <fstream>
#include <iostream>
#include <string>
#include <cstdlib>
#include <cstdlib>
#include <cstddef>
#include <cstring>
#include <sstream>
#include <iomanip>
#include <cctype>
using namespace std;
int main ()
    const string word="This is a test of your word  analysis program. How many words did you find that begin with a vowel? WHAT ABOUT STARTING WITH AN S OR ENDING IN AN s? Mary said, I like C++.";
        char x;

    while (cin.get (x))
        if (isupper (x))
            cout<< tolower(x);
        else if (ispunct (x))
    return 0;

This question has already been answered. Start a new discussion instead.