my_object == char_constant
123456789
char c; while (inData.get( c )) { switch (c) { case '[': m++; break; case ']': n++; break; } }