Journey 2: The Mysterious Island
February 10, 2012
Josh Hutcherson
Dwayne Johnson
Michael Caine
Project X
March 2, 2012
Thomas Mann
Oliver Cooper
Jonathan Daniel Brown
Here is an example of my code:
1 2 3 4 5 6 7 8 9 10 11 12 13
struct movies
{
string name;
string data;
string stars[10];
int count;
}
movies wb[10];
string st;
while(getline(cin, st)) {
}
It's been a long time since I've worked in C++, and my primary problem is knowing how to split up the code into that structure line by line. No outside file reading is necessary.