Hi, i have an array of pointers to pointers. Its a deck of cards and we've been told in class to do it that way. I have a build_deck() function and a shuffle_deck() function. They both work fine. And now im onto the deal_card() function, and it works but it just prints out the address of what its pointing to. Any help would be greatly appreciated, here is some of the code :). ive tried de referencing the last bit of code in the deal card function but it crashes :/.
I expected it to increment the suit once, then the deal_next counter 13 times for each suit increment. Which would keep the card counter going up. Should i put _deal_next++ inside the second loop?