Card and Deck classes
Prefer nullptr to NULL if you're using C++11.
&lt;stdlib.h&gt; and time.h are both C libraries.  Use the respective C++ libraries &lt;cstdlib&gt; and &lt;ctime&gt;.  The rest are okay.  You don't need to include &lt;vector&gt; in main.cpp.
Since you use a storage container for your deck, you can display it using iterators:

for (auto iter = m_deck.begin(); iter != m_deck.cend(); ++iter)
{
    std::cout &lt;&lt; *iter &lt;&lt; "\n";
}


If you're using C++11, use a range-based for-loop:

for (auto&amp; iter : m_deck)
{
    std::cout &lt;&lt; iter &lt;&lt; "\n";
}

I don't know why you're using randomness to generate a card within the class.  The constructor should be given input to determine its rank and suit.  A card shouldn't create itself, and you wouldn't want this with an actual card game.  Remove the generate functions entirely, and instead allow the constructor to receive arguments to determine the card's value.
You also don't need to construct the deck within its constructor.  A deck can still start out empty until cards are passed to it.  That should be handled in client code, especially if someone doesn't want a 52-card deck (or a certain game uses something different).
As an alternative to using std::strings, consider enums for the ranks and suits:

// make sure the first rank is explicitly set at 1
// this will make the last rank equal 13
enum Rank { Ace=1, Two, /* ... */, Queen, King };




enum Suit { Spades, Hearts, Diamonds, Clubs };


With this, you'll no longer need the arrays nor the max constants.  Your m_rank and m_suit members should also be one of these enum type (Rank and Suit respectively).  The enums and the Card class declaration should all then be contained in a namespace.

Within your card class, you'll need functions to convert a given enum value to a char value for displaying.  You could, for instance, do this with a switch statement, which will serve as a look-up table.  This will also make it easier to maintain the ranks and suits.

std::string getRank(Rank rank)
{
    switch (rank)
    {
        case Ace: return "A";
        // ...
        default: throw std::logic_error("invalid rank");
    }
}

// same idea with suits


Also note the default statement.  If an invalid rank is passed in, an std::log_error exception will be thrown.  Regardless of what works best for error-handling, there should be a default statement here to properly handle it.
Rename Card2Str() to CardToString().  The former is just awkward wording.  It should also be lowercase as it's a function and not a type.
getOneCard() doesn't specify where in the deck the one card is drawn.  Since it takes a card from the top of the deck, just call it draw() or deal().  On the other hand, it's void and has no parameters, so it's not returning a card.  If this is supposed to just display a top card, then it's ineffective as it's still destroying the top card.

Better yet, consider having a draw() and a top() (perhaps you just need to peek at the top card).  The functionality also looks a bit unclear.  Since you're using std::vector, a storage container, make use of its member functions.  In this case, use back():

draw():

Card Deck::draw()
{   
    Card cd = m_deck.back();
    m_deck.pop_back();
    return cd;
}


top():

// return by const&amp; as this Card should only be read-only
// also make the function const as no data members are modified
Card const&amp; Deck::top() const
{   
    return m_deck.back();
}


For both of these functions, be sure the caller is first checking for an empty deck.

Side-note: You can use a different storage container if you, say, need to be able to insert into or draw from somewhere else in the deck besides the top or bottom.  For that, you can use an std::list (doubly linked list).  If you instead want to insert into or draw from the top and bottom, you can use an std::deque (double-ended queue).  Otherwise, stay with what you have.
Your deck is missing something: a shuffle function!  You could utilize std::random_shuffle from the STL to do it nicely for you:

void Deck::shuffle()
{
    std::random_shuffle(m_deck.begin(), m_deck.end());
}


You should also check for an empty deck prior to shuffling.