Chapter 10: Problem 5
Find the syntax errors in the following class definition: class discover //Line 1 { //Line 2 public; //Line 3 void set(string, int, int); //Line 4 void print() const; //Line 5 discover(); //Line 6 discover(string, int, int); //Line 7 bool discover(string, int, int); //Line 8 private: //Line 9 string type; //Line 10 int l; //Line 11 int w; //Line 12 } //Line 13
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.