Build a Guessing Game Application using C++

4.3
6 个评分
提供方
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.

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.

您要培养的技能

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.

指导项目工作原理

您的工作空间就是浏览器中的云桌面,无需下载

在分屏视频中,您的授课教师会为您提供分步指导

常见问题

常见问题

还有其他问题吗?请访问 学生帮助中心