All pastes #895454 Raw Edit

Array test

public cpp v1 · immutable
·published 2008-02-07 20:56 UTC
rendered paste body
//array exercise#include <iostream>#include <string>using namespace std;string array[10];int main(){    cout << "What?\n";    for (int i = 0;i <= 10;i++)    {        cin >> array[i];        cout << "now what?\n";    }    for (int j = 0;j <= 10;j++)        {            cout << "You said:";            cout << array[j] << endl;        }    return 0;}