This question is not a homework question, but a question about an example in the book, Object-Oriented Programming in C++ by Richard Johsonbaugh page 127, Example 3.5.6. What do I need to add to this code segment to make it run:
Code:#include <iostream>
#include <string>
using namespace std;
unsigned count = 0;
class C
{
public:
C ( ) { cout << "Creating C" << ++count << '\n'; }
};
{
C ar[ 1000 ];
