I am currently having issues with getting user input from a separate file, and using that input to put into an array into a class in a separate file. (Sorry if I confused you there) So, yeah. If anybody could help me with gutting user input and putting it into a class containing an array, that would be great!
Once you have the file open, you can probably loop on ifstream::good(), which will return false if the file isn't open or you have read all the data in the file. http://www.cplusplus.com/reference/ios/ios/good/
It looks like it would work, but the only problem is my teacher would not let me use that method in trying to store data in an array, which is in a class. I am really stuck on this.
yeah, for example, in the header file "workerBee.h" under switch statement 'A', i need to get int inputNumber and string inputName, and use it in the class "Rolodex.h".
Your arrays in Rolodex are string names and int numbers. If you want to use this card class (you can if you want), your array in Rolodex needs to be of type "Card", and your addingCard function needs to add "Card" rather than a string name and integer number.