Build a Guessing Game Application using C++

提供方
Coursera Project Network
在此免費指導項目中,您將:

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.

Showcase this hands-on experience in an interview

Clock2 hours
Intermediate中級
Cloud無需下載
Video分屏視頻
Comment Dots英語(English)
Laptop僅限桌面

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.

必備條件

Learners should be familiar with using a Linux environment, including familiarity with an IDE and the Linux file system.

您要培養的技能

C++ Decision ConstructsObject-Oriented Programming C++C++C++ loopsC++ Recursion

分步進行學習

在與您的工作區一起在分屏中播放的視頻中,您的授課教師將指導您完成每個步驟:

  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.

指導項目工作原理

您的工作空間就是瀏覽器中的雲桌面,無需下載

在分屏視頻中,您的授課教師會為您提供分步指導

常見問題

常見問題

還有其他問題嗎?請訪問 學生幫助中心