Search:

Type: Posts; User: Myownworstenemy

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    1,401

    In case anyone reads this in the future and wants...

    In case anyone reads this in the future and wants to help, I already solved the problem. Thanks :)
  2. Replies
    5
    Views
    1,401

    Here is the other function referenced in my...

    Here is the other function referenced in my code...





    void Hand::drawCards( Deck* theDeck, int drawNumber )
    {
    static int init = 1;
    int cardIndex;
  3. Replies
    16
    Views
    2,010

    im not exactly sure what youre asking, but one...

    im not exactly sure what youre asking, but one major problem is that you have 2 std::cin statements ina row after cout-ing the huge text of the theory... std::cin >> pause; gets user input from...
  4. Replies
    5
    Views
    1,401

    Another note on that issue is that the program...

    Another note on that issue is that the program works perfectly when I use the newCard pointer by itself, and simply output the value to the screen. The problem occurs when i try to push the newCard...
  5. Replies
    5
    Views
    1,401

    That is a valid point, and I have to admit that I...

    That is a valid point, and I have to admit that I don't completely understand pointers... in that previous code example, I allocated space for the newCard pointer, and then assigned the data in a...
  6. Replies
    5
    Views
    1,401

    vectors of pointers

    I am getting memory leak errors when running my program.. I have determined that the error is in this section, specifically in the push_back line for the vector. the newCard variable receives the...
  7. Replies
    3
    Views
    2,207

    Thanks so much to both of you. I was able to...

    Thanks so much to both of you. I was able to complete the assignment. It was the first time I have ever successfully passed a vector of pointers to a function.
  8. Replies
    3
    Views
    2,207

    Vectors of pointers to objects

    I am trying to set up a vector of pointers to objects using the base object class. I am then assigning specific objects of pointers to derived classes to the vector. I have attached the actual...
Results 1 to 8 of 8