Click here to Skip to main content
15,896,296 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: WM_KEYDOWN Pin
Achim Klein8-Sep-05 15:22
Achim Klein8-Sep-05 15:22 
GeneralRe: WM_KEYDOWN Pin
Christian Graus8-Sep-05 15:25
protectorChristian Graus8-Sep-05 15:25 
GeneralRe: WM_KEYDOWN Pin
Eytukan9-Sep-05 2:09
Eytukan9-Sep-05 2:09 
GeneralRe: WM_KEYDOWN Pin
Achim Klein8-Sep-05 14:50
Achim Klein8-Sep-05 14:50 
General[Message Deleted] Pin
Christian Graus8-Sep-05 15:10
protectorChristian Graus8-Sep-05 15:10 
GeneralRe: WM_KEYDOWN Pin
Tim Smith9-Sep-05 4:11
Tim Smith9-Sep-05 4:11 
Question[Msg Deleted Because Of No Reason] Pin
Eytukan9-Sep-05 1:31
Eytukan9-Sep-05 1:31 
QuestionI am new to this can some1 help me? Pin
Shantise20038-Sep-05 13:26
Shantise20038-Sep-05 13:26 
i really need help writing this program:

In this assignment, you will creating a simple interactive guessing game, which is based on random numbers. The game is simple: two dice are rolled; you need to predict whether the sum of the next roll will be higher or lower than the previous roll. For example, you may have the first die roll a 2 and the second die roll a 3. The sum of this roll is 5. Statistically speaking, you should "predict" higher because the average roll results in 6. If the roll is higher than or equal to 5 and you predicted it to be higher, then you get to continue. If the roll is lower (or equal to) and you predicted lower, you get to continue. Basically a wrong prediction will end the game.

Background: This program could potentially play forever (though it's doubtful), so obviously you need a loop of some kind - but choose carefully.

Requirements: Basically the program should behave as closely to the example below as possible; the grade breakdown is roughly as follows:

For a 'C': Get the program to roll the dice once, ask if the next roll will be higher or lower, roll the dice again and say if it was correct or not.

For a 'B': Get the program to repeatedly do this until they guess wrong

For an 'A': Get the program to track the number of times the user guessed correctly

Confused | :confused: can some1 plz plz help me
AnswerRe: I am new to this can some1 help me? Pin
Christian Graus8-Sep-05 13:36
protectorChristian Graus8-Sep-05 13:36 
GeneralRe: I am new to this can some1 help me? Pin
Phil Harding9-Sep-05 14:12
Phil Harding9-Sep-05 14:12 
AnswerRe: I am new to this can some1 help me? Pin
Christian Graus8-Sep-05 16:09
protectorChristian Graus8-Sep-05 16:09 
Answeri'll do my part.. Pin
Eytukan9-Sep-05 3:59
Eytukan9-Sep-05 3:59 
Questionhow to trace the value in debug Pin
valerie998-Sep-05 12:35
valerie998-Sep-05 12:35 
AnswerRe: how to trace the value in debug Pin
ThatsAlok8-Sep-05 18:19
ThatsAlok8-Sep-05 18:19 
Questionmd5 Pin
Sam 20068-Sep-05 12:03
Sam 20068-Sep-05 12:03 
AnswerRe: md5 Pin
Christian Graus8-Sep-05 12:23
protectorChristian Graus8-Sep-05 12:23 
GeneralRe: md5 Pin
Sam 20068-Sep-05 12:27
Sam 20068-Sep-05 12:27 
GeneralRe: md5 Pin
Christian Graus8-Sep-05 12:31
protectorChristian Graus8-Sep-05 12:31 
GeneralRe: md5 Pin
Jörgen Sigvardsson8-Sep-05 12:34
Jörgen Sigvardsson8-Sep-05 12:34 
AnswerRe: md5 Pin
Jim Howard8-Sep-05 12:49
Jim Howard8-Sep-05 12:49 
AnswerRe: md5 Pin
logicaldna8-Sep-05 18:36
logicaldna8-Sep-05 18:36 
QuestionUser-Interface Thread Concept Question Pin
LighthouseJ8-Sep-05 11:51
LighthouseJ8-Sep-05 11:51 
AnswerRe: User-Interface Thread Concept Question Pin
Blake Miller9-Sep-05 4:14
Blake Miller9-Sep-05 4:14 
GeneralRe: User-Interface Thread Concept Question Pin
LighthouseJ9-Sep-05 17:39
LighthouseJ9-Sep-05 17:39 
QuestionHelp for Platform SDK Pin
rat.crown8-Sep-05 11:45
rat.crown8-Sep-05 11:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.