Question about Operating Systems

1 Answer

Computer science c++

The memory game is a game played with 10 cards, each placed face down. Each card has a capital letter printed on it. There are exactly 5 matching pairs of cards. Each turn is as follows:

  • The player turns two cards upright.
  • If the cards are the same, then the cards remain upright.
  • If the cards are different, then the cards are turned face down again.
The cards always remain in the same relative position. Write a C++ program to implement this game. The game stops when all cards have been matched.
Once the game has concluded, ask the user if he/she wishes to play again.
Hint: You decide what the cards will be!
Hint: you will need to remember the letter on the card, as well as whether the card is face down or not.

Posted by on

  • Anonymous Mar 13, 2014

    while playing cards, intermissions are still taking place

×

1 Answer

  • Level 2:

    An expert who has achieved level 2 by getting 100 points

    MVP:

    An expert that gotĀ 5 achievements.

    Sergeant:

    An expert that hasĀ over 500 points.

    Champion:

    An expert who has answered 200 questions.

  • Expert
  • 329 Answers

I can help you.. you should pay me. $50

Posted on Mar 28, 2008


Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

Hello, I need help, I bought a My Book at the Walmart store today and I just wanted more memory so my computer would run faster. Now I have this Memo Auto Sync and Memo Auto Backup going in the back...


If you were wanting more memory to make your computer run faster, you didn't need a hard drive, you needed more RAM (random access memory), which comes in the form of long, slender cards that plug into the motherboard. You'll have to shut your system down, unplug it, open the case, locate the memory cards, read what's on the stickers on them, then get more of the same. If you've got a BestBuy, or Staples, or OfficeMax, or some other store that offers in store service and installation, you'll do yourself a real service by letting them do it. If you don't know what you're doing, you can really screw things up.

Alternately, you can access some decent how-to videos on youtube.

An external hard drive will give you a place to store seldom accessed stuff, or backups, but it's way too slow for regular use, and has little or nothing to do with speeding your computer up.

Aug 04, 2011 | Operating Systems

2 Answers

When i play games it is very slow... lagish? what can i do now?


upgrade your processor use dualcore or core2duo and the video card or graphic card must be 512mb or higher. upgrade also your memory ram to 1G or 2G up is very good..

Apr 23, 2011 | Operating Systems

2 Answers

Memory card corrupted


Try reformatting it by inserting into a card reader connected to PC. If it is indeed only a bad sector in the card then you will lose data but still salvage your card. Otherwise you will lose both card and data. Also, if you are using a linux OS then there are data retrieval methods available from corrupt cards as well. Kindly clarify OS.

Jan 27, 2011 | Operating Systems

3 Answers

How do i type roman numbers on a computer?


I think you are talking about bullet points, right? You have to start a list and right click on the number. Then go to Bullets and Numbering and select the type of Roman numerals you like (lower or upper case).

Nov 03, 2010 | Operating Systems

1 Answer

My sims 2 double deluxe wont play .thelauncher comes on. after selecting it ,the sims plays a few notes then tuns off.


The Sims is an excellent game.!
But its a bit demanding.
Make sure your computer complies with the minimum hardware requirements like memory, video card, etc.
Also check for damages on DVD media like scratches or finger prints in the surface.
Good luck

Don't forget to rate thus answer if it helps

Aug 20, 2010 | Operating Systems

2 Answers

How to play my psx game on my psp



This is a problem occurring in all the play station consoles....... this is mainly because of the poor quality of the disc.....as a result it leads to the damage of ur PSP lens..............use good original discs........the heating effect is due to the long usage of pirated discs ...
check your lens if its working good then better download this Repair Guide for further information .........
CLICK HERE to download

Aug 11, 2010 | Operating Systems

3 Answers

When playing a game online, my computer runs slow and sometimes does not respond at all. What could be causing this?


Microsoft Windows and PCs have always had problems. But the cause isn't always the Operating System (Windows) or your computer (your PC) sometimes it is the added components of the system, or non-added components, that you need added.

First, look at the back of your computer. If the monitor cable is plugged into the upper portion of the computer then you have what is called an "Embedded" video card. If it is connect to the slotted row of spaces near the bottom then you have a PCI video card. If you have an embedded card, it would benefit you to get a PCI card. If you have a PCI card then check to see that you have 64mb or more of video memory, if not upgrade!

Tip:
You can also add more virtual memory under your "Virtual Memory" under "Properties" in "My Computer." The word is to double your memory size.

-Paul

Jul 13, 2010 | Microsoft Windows XP Professional for PC

2 Answers

In my computer while installing games or to open a game it showing a dialog box i.e vedio memory not enough?how to clear this problem


You need a better graphics card than the one you have. Always check that your system meets the minimum requirements for the game you are installing.

Jul 02, 2010 | Operating Systems

1 Answer

My video card driver is not responsible in latest pc games


I think u donesn;t have sufficient video memory to run those games...Better try for a suitable graphics card to play high end games..

Jan 27, 2009 | Microsoft Windows Vista Ultimate Edition

1 Answer

Driver signing?


Sure,

You need Administrator privileges, which I can guess you have, then follow this walk through:

Right Click My Computer
Select Manage
Select Disk Management

See if some other drive, like a memory card or CD or DVD drive is using G. If it is right click that drive and select (words to this effect) change drive letters and from the drop down list change it to Z for the moment.

Right click the drive partition you want to change.
A dialoge box comes up with a drop down list of letters available to you. Change your drive from G to F. If F is not displayed and you have reassigned F to Z you may have to reboot and repeat the above until you can assign a new letter and F should be available now.

Often times PCs today and especially Laptops have built in memory card readers. I always start by assigning the first memory card slot in the list to M for memory card and then assign subsequent letters (there are usually only three) as N and O, and so on.

For your CD/DVD drives I assign a new letters a few letters down from the last Hard Drive partition.

If you need further explanation or instructions comment back to me and I'll work with you until you get this resolved.

Regards,
Worldvet

May 31, 2008 | Microsoft Windows Vista Ultimate Edition

Not finding what you are looking for?
Operating Systems Logo

Related Topics:

75 people viewed this question

Ask a Question

Usually answered in minutes!

Top Operating Systems Experts

Les Dickinson
Les Dickinson

Level 3 Expert

18297 Answers

Brian Sullivan
Brian Sullivan

Level 3 Expert

27725 Answers

Prashant  Sharma
Prashant Sharma

Level 3 Expert

1127 Answers

Are you an Operating System Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...