Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
~4K People Reached
Favorite Forums
Favorite Tags
c x 2
java x 2
c++ x 1

4 Posted Topics

Member Avatar for DemonLady

What does this do? [QUOTE]num=GetInteger();[/QUOTE] you would need a scanf here...

Member Avatar for Ajini
0
3K
Member Avatar for satish_dukkipat

The above is undefined behavior in C?C++ [URL="https://www.securecoding.cert.org/confluence/display/cplusplus/EXP34-C.+Do+not+depend+on+order+of+evaluation+between+sequence+points"]https://www.securecoding.cert.org/confluence/display/cplusplus/EXP34-C.+Do+not+depend+on+order+of+evaluation+between+sequence+points[/URL] This code in Java & C# is defined, I would be: [code]int i,j=4; i=j++*++j*j--;[/code] i = 4(5) *(6)6 * 6(5) = 144- Which is what I got when running the program in Java...

Member Avatar for deceptikon
0
224
Member Avatar for SirJames

Wanted to verify that this actually does check for all wins- if so I need to a statement that a tie does still exist and where to add it...Opinions and suggestions please.. method displayHandName() writes out the hand found. [CODE] public static void determineWinner(int[] finalHands, int[][] hands) throws IOException { …

Member Avatar for SirJames
0
119
Member Avatar for SirJames

I have a program evaluating a straight hand in poker: Here is my code: [code=cplusplus] int numInRank[14]; cin.get(rankCh); switch (toupper(rankCh)) { case '-1': exit(0); case '?': rank = 0; break; case 'A': rank = 1; break; case '2': rank = 2; break; case '3': rank = 3; break; case '4': …

Member Avatar for vijayan121
0
104

The End.