Search:

Type: Posts; User: Darius Dempsey

Search: Search took 0.00 seconds.

  1. Replies
    9
    Views
    2,360

    smart pointer

    smart pointer<<== will have to look that up.. I tried using pointers, and references but It still would error out... I also tried another object.. but the output comes out funny. See below.

    Player...
  2. Replies
    9
    Views
    2,360

    I named the array Player1 because it is where I...

    I named the array Player1 because it is where I will store the 5 cards for player1, there will be a player2 as well. If I am doing it wrong..can you tell how I should be approaching this. I already...
  3. Replies
    9
    Views
    2,360

    Thanks @laserlight... Well I tried the array as a...

    Thanks @laserlight... Well I tried the array as a string too string player1[5], but It still didn't work.. So what should I use in order to pass the value to an array?
  4. Replies
    9
    Views
    2,360

    well I did try it this way..where I tried to pass...

    well I did try it this way..where I tried to pass it to an array..


    char player1[5];

    for (int j = 0; j < 5; j++) {
    cout<< "Card_" << (j+1) << ": ";
    player1[j].toString();
    ...
  5. Replies
    9
    Views
    2,360

    passing value into an array

    I am writing a program for a poker game.. I created a class to get cards and create deck.. the problem I am having now is how to deal 5 cards to an array to be evaluated later. I want to call the...
Results 1 to 5 of 5