hey guys i'm new to c++. i've only done basic oop. so we have to create this card game. can you guys help me create the cards, shuffling and dealing. these are my current codes. the card pack is supposed to have 55 consisting of 1x1s, 2x2s, 3x3s up to 10x10s.
typically a deck of cards can do all you need to do using a vector<cards> or often just a vector<ints> if you have a numeric code for what card is what. You can put a little class wrapper around it, but its rarely 'required', just 'nice' sometimes.
with a vector, shuffle is easy, you can use https://www.cplusplus.com/reference/algorithm/shuffle/
and dealing can just be iteration ( [0] is first card dealt, [1] is second card dealt, ...) ... just copy off each card in turn into another vector (a 'hand' or a 'discard pile' or whatever you want to represent).
Of course using vectors to do all the heavy lifting won't teach you a ton of OOP stuff, but it is how one would solve this problem if all options are open.