CS106B
  • Handouts
    • General Information
    • CS Course Placement
    • CS106 Honor Code
  • Assignments
    • 0 - Name Hash
    • 1 - Fauxtoshop
    • 2 - ADTs
    • 3 - Recursion
    • 4 - Backtracking
    • 5 - Linked Lists
    • 6 - Huffman
    • 7 - Trailblazer
  • Sections
    • Section 01
    • Section 01 Solution
    • Section 02
    • Section 02 Solution
    • Section 03
    • Section 03 Solution
    • Section 04
    • Section 04 Solution
    • Section 05
    • Section 05 Solution
    • Section 06
    • Section 06 Solution
    • Section 07
    • Section 07 Solution
    • Section 08
    • Section 08 Solution
    • Late section signup
    • Switch sections
    • Drop section
  • Tools
    • QT Creator
    • Style Guide
  • Overview

Assignment 4B: Boggle

Q: What does this error mean?
error: invalid conversion from 'char' to 'const char*'
A: You are trying to use a char in place of a string. You can convert a char into a string if necessary by doing something like this:
char c = 'Q';
string s;
s += c;    // "Q"
or,
string s = string("") + c;
Q: How do I "mark" a letter as being used?
A: We don't want to say exactly how to do it; the details are up to you. Come up with a way to store this information in a collection, or in some existing collection in the code.
Q: How efficient must my computer word search be? Mine takes up to a few minutes to run; is this okay?
A: It should finish running almost immediately. If your solution takes more than a few seconds to run, something is wrong and you should fix it if you want to receive full credit.

© Stanford 2017 | Web design by Chris Gregg. CS106B has been developed over decades by many talented teachers.