Build a Guessing Game Application using C++

von
Coursera Project Network
In diesem angeleitetes Projekt werden Sie:

Use the C++ standard input stream to input data from the user and store it in a variable.

Employ a C++ decision construct to compare a guess with a random number.

Use a while loop to allow for more than one guess.

Clock2 hours
IntermediateMittel
CloudKein Download erforderlich
VideoVideo auf geteiltem Bildschirm
Comment DotsEnglisch
LaptopNur Desktop

In this project you will create a guessing game application that pits the computer against the user. You will create variables, static methods, decision constructs, and loops in C++ to create the game. C++ is a language developed to provide an Object-Oriented version of the C language. Learning C++ then gives the programmer a wide variety of career paths to choose from. It is used in many applications, from text editors to games to device drivers to Web Server code such as SQL Server. There is no more efficient higher level language than C, and C can be used within C++ code, since the C++ compiler supports C as well. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

Kompetenzen, die Sie erwerben werden

  • C++ Decision Constructs
  • Object-Oriented Programming C++
  • C++
  • C++ loops
  • C++ Recursion

Schritt für Schritt lernen

In einem Video, das auf einer Hälfte Ihres Arbeitsbereichs abgespielt wird, führt Sie Ihr Dozent durch diese Schritte:

  1. Research C++ online using a browser and discuss the ways in which C++ is used.

  2. Use the C++ standard input stream to input data from the user and store it in a variable.

  3. Employ a C++ decision construct to compare a guess with a random number.

  4. Use a while loop to allow for more than one guess.

  5. Create a C++ static method to have the computer guess the random number.

Ablauf angeleiteter Projekte

Ihr Arbeitsbereich ist ein Cloud-Desktop direkt in Ihrem Browser, kein Download erforderlich

Ihr Dozent leitet Sie in einem Video mit geteiltem Bildschirm Schritt für Schritt an.

Häufig gestellte Fragen

Häufig gestellte Fragen

Haben Sie weitere Fragen? Besuchen Sie das Learner Help Center.