Thanks for posting, guys. Everything compiles now, but unfortunately, I'm still a little confused about some of the stuff stated in your posts. I really apologize.
I've been attempting to correct this program so that it can be displayed in a gui (although all I need it to do is display the arrays in something that isn't the command prompt). Should I just continue, or are there things I absolutely need to fix before displaying the data? Right now, it displays all necessary data, except the result of the findWholeInventory method.
I did not change Camera.