Im working on a program (of which i will post in just a bit), to write blackjack. Im in my first c++ (and programing for that matter), class, and so im very new to this.
Thus far i have several functions im in between, but the problem is that im having trouble understanding the most basic function that i need to understand and thats how to make the deck. we've talked about arrays as a way to write the deck, but it just doesnt make a whole lot of sense to me unfortunately.
Im hoping maybe someone could help me to understand this. I dont want anyone to write my program for me by any means, mearly right now, i just need help with writing the deck. perhaps someone can point me to a website or some ideas as to how to do the deck function.
for the deck, use a vector rather than an array, they are very similar. And to initialize the deck use a random number generator. you should be able to look up the two ideas fairly easily on this site or on google.