home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Australian Personal Computer 2000 June
/
APC561.ISO
/
workshop
/
c
/
array.cpp
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
2000-04-02
|
281 b
|
22 lines
#include <iostream>
#include <string>
using namespace std;
int main()
{
const int max=100;
string s[max];
int count = 0;
while (count<max && !cin.eof())
cin >> s[count++];
for (int i=0; i<count; i++)
cout << s[i] << '\n';
return 0;
}