Thread: [Jumping into C++] What is Chapter 9, Exercise 3 asking of me?

  1. #1
    Registered User
    Join Date
    Jun 2016
    Posts
    40

    [Jumping into C++] What is Chapter 9, Exercise 3 asking of me?

    The problem:
    Write a program that solves the guessing game from part 1. How many guesses does your program
    need?
    I looked through a bunch of the previous chapters (even Chapter 1), but nothing came up about a guessing game. Was this a mistake, or did I miss something?

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,079
    Refer to the previous problem, i.e., just a line above.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Registered User
    Join Date
    Jun 2016
    Posts
    40
    Oh, that one. All right, thanks

  4. #4
    Registered User
    Join Date
    Aug 2016
    Posts
    1
    I played the game: "Electronic Master Mind" when I was a kid. So, programming this game was a breeze! Essentially, it shows how effective & efficient a Binary Search routine is.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 3
    Last Post: 07-20-2016, 07:45 AM
  2. Jumping into C++ Chapter 14, exercise 6.
    By CppProgrammer88 in forum C++ Programming
    Replies: 5
    Last Post: 04-12-2016, 07:27 PM
  3. Jumping into C++ chapter 7 help
    By DarthOrmus in forum C++ Programming
    Replies: 2
    Last Post: 06-03-2013, 01:48 AM
  4. Replies: 6
    Last Post: 08-20-2012, 07:09 AM

Tags for this Thread