Hi just started C++, was forced to take the class

I just need some help

I have to, not watn to, but have to take C++ as my course

we are given this homework, CAN YOU PLEASE HELP ME!?!? I will be forver gratfull!!

You will develop a simple windows-based game of dice. The game is played once only, and here are the rules for 2 players:

1- You choose if you wish to be player 1 or player 2

2- 2 dice are rolled on behalf of player 1

3- 2 dice are rolled on behalf of player 2

4- The winner is decided as follows:

a. If neither of the outcomes are a double such as ‘1-1’ or ’2-2’ or ’3-3’ or ‘4-4’ or ‘5-5’ or ‘6-6’ one of player 1 with the larger total wins, and if the totals are equal, it is a draw

b. If one outcome is a double, and the other is not, the player with a double wins and the totals will be irrelevant

c. If both outcomes are a double, then the player with the higher double wins, and if the doubles are equal, it is a draw

Marking:

1- You must write 6 functions, each one displaying the result of the roll of dice(displaying a picture/graphic). The outcome of the rolls of the dice MUST be graphic.

2- The logic of the game should be as described above

Yes we can help. See points 1, 2, 7, 9, 12. But don't ignore the rest...

[boilerplate_help_info]
Posting requests for help must be well thought out if you want help quickly and correctly. Your post did not meet the criteria for quality help. You may get some posts, but are they going to be useful? Check your post with these checkpoints - what is it you missed:

  1. Ask a question that can be answered. Do not ask
    -What's wrong with my code?
    -Why doesn't this work?
    Anything else that does not give us useful information.
  2. Post your code. If we don't know what you did, how can we possibly help?
    -Use PROPER FORMATTING -- see this
    -Use CODE Tags so your formatting is preserved.
    If we can't follow your code, it's difficult to help. We don't care that you're still working on it. If you want us to read it, it must be readable.
  3. Explain what the code is supposed to do. If we don't know where the target is, how can we help you hit it?
  4. Explain what actually happened! If we don't know where the arrow went when you shot it, how can we tell what went wrong and how far from the target you are?
  5. If you have errors, post them! We can't see your screen. We can't read your mind. You need to tell us what happened.
  6. Do not ask for code. We are not a coding service. We will help you fix your code.
    -If anyone posts working code for you, they are a cheater.
    -If you use that code you are a cheater.
  7. Do not bore us with how new you are. We can tell by your code.
    -Do not apologize. We were all new, and unless you are completely brain dead you will get better.
    -Do not ask us to "take it easy on you."
    -Do not say "I don't know what's going on." That's obvious since you posted for help. Use that time wisely by explaining as best you can so we can help.
  8. Do not apologize for posting 'late'. We don't have any expectations on when you should be posting - 10 minutes or 10 days. We aren't timing your responses.
  9. Do not post your requirements and nothing else. We view that as a lazy do-nothing student that wants us to do their work for them. That's cheating and we will be hard on you.
  10. Do not attach files except when absolutely necessary. Most of us are not going to download files. Add the information to your post.
  11. Do not tell us how urgent it is. Seriously, for us there is no urgency at all. Many that can help will ignore any URGENT or ASAP requests.
  12. Create a good title for your post. The title C++ in the C++ forum is bloody redundant and worthless! What's wrong? equally so. Specifically what are you having trouble with? There is your title. (note: my program is not the answer.)

Think more about your next post so we don't have to play 20 questions to get the info we need to help you.
[/boilerplate_help_info]

It's also difficult for us to be motivated to help you do something we know you don't want to do or even try to do.
Your requirements are pretty steep (challenging) for someone brand-new to C++ (unless you have lots of time to finish it).
...but that's assuming you also have to simulate the dice roll. Maybe you just need to make 6 functions and and have the output display pictures.

My suggestion is that you partner with someone in your class and you can hack-it-out in a couple of days.
...unless your intention is not to learn this at all.

If you do want to learn it and have a specific question about a piece of it, please post the code that is giving you trouble.

Your requirements are pretty steep (challenging) for someone brand-new to C++

My guess is that course is NOT intended for beginners. Most likely an advanced programming course for which the OP does not have the prerequisites. If it is a beginner's course then fire the instructor and drop the course.

This article has been dead for over six months. Start a new discussion instead.