Skip to content

Instantly share code, notes, and snippets.

View dryya's full-sized avatar

dryya dryya

View GitHub Profile
@dryya
dryya / blackjack.cpp
Last active August 29, 2015 14:02
for dailyprogrammer challenge 161 easy
#include <iostream>
#include <vector>
#include <numeric>
#include <algorithm>
#include <string>
/* The following function will create a vector made up of a certain number
of individual decks. The structure of a deck is all integers from
zero to fifty-one inclusive.*/
std::vector<int> createDeck(int amount) {