Problem with inheritance, and going from hardcoded data to user input

Here is my code posted to github

https://gist.github.com/4160639

I'm trying to change all the values from hard coded data to user inputed data now. I'm leaving in the initializer in main and trying to have the user input take the data right after that. I've tried cin >> package1.Package::setRCity(); but it gives me the error that the function doesn't take 0 arguments. I've also tried putting const, string, const string & etc into the parentheses so it does take an argument, but I'm not understanding something. How can I make this work?
1
2
cin >> someString;
package1.Package::setRCity(someString);
Topic archived. No new replies allowed.