Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~914 People Reached
Favorite Forums
Favorite Tags
c++ x 21
c x 4
Member Avatar for sTorM

Hello all , I am just new to programming! I want to store the total number(deck[i].value) of several players evth having loop(players depend on user how many want).I tried many ways for that like vector and array.I dont know why I couldnt!Another thing,if user wants more cards,I want to give …

Member Avatar for Lerner
0
111
Member Avatar for sTorM

hello, I have problem with plus. i couldnt get right total number! And also I ld to know how to store all list of total number. coz i ld to compare them wh is biggest and smallest. [code] int n = 0; cin>>n; //vector<int> v; //int scores[n]; for ( i …

Member Avatar for WaltP
0
83
Member Avatar for sTorM

Hi all, How can make the output not to repeat again for many players. here is part of code. [code] struct { int face; unsigned int value; } card[13] = { {'2', 2},{'2', 3},{'2', 4}, {'5', 5},{'6', 6},{'7', 7}, {'8', 8},{'9', 9},{'X', 10}, {'J', 13},{'Q', 12},{'K', 11}, {'A', 1} }; …

Member Avatar for Ravalon
0
109
Member Avatar for sTorM

Hi all, I am just new to progamming .I am writng small twenty card game.What I want I dont repeat the cards again to next player after first user received.And in real I wana do game with more than two player.But in my code have some problem with print out …

Member Avatar for Salem
0
76
Member Avatar for sTorM

hello, pls find out why code is not work for solitaire game... Thanks in advance.:rolleyes: code: [code=cplusplus] #include<iostream> using namespace std; /*****CLASS PLAYING CARD*****/ class PlayingCard { private: int rank;//integer 1-13 int suit;//integer0-3 char color;//red('r') or black('b') public: PlayingCard(int,int); PlayingCard(); void display(); ~PlayingCard(); const static int diamond; const static int …

Member Avatar for John A
0
212
Member Avatar for sTorM

I just writing the simple twenty one card game...now evth work and fine. And I put cards from 2 to A with concerning value.But when the debug step coming '0'comes to input with value '10'(K is worth 10 etc). It make me so confused. here is my code: [code]#include <iostream> …

Member Avatar for sTorM
0
102
Member Avatar for sTorM

Thank for most who helped me to find out random fun before.. I am new to programming .. I just writing simple twenty one game.. Now my random out is like that ... k 5 6 q j .. mix char and int together randomly.. it might be suck..! now …

Member Avatar for sTorM
0
98
Member Avatar for sTorM

Hi , I ld to print out characters and intergers together randomly? for example .. k 10 5 r 3 .. etc.. But I set 4 char and 10 int(frm 1-10) .. pls help me out thz in advance!:)

Member Avatar for sTorM
0
122