I need to create a new class object that simulates a deck of cards. I've stripped out the entire code and am down to just this. I need to create an empty list where I can place 52 cards from another class. I can't even get off the ground.
Line 3 in main() is not correct thanks to C++'s lineage with C. Anyway, the short of it is that line 3 does not do what you think it does; instead, you want Deck my_deck; // note no parens . If you are interested in why, google "C++ most vexing parse".