there might be some way to do it, but I really encourage you not to try. the thing with switches is that they rely on equality, and that is fine with primitive data types (int, float, char, pointers). when it comes to objects, however, no two are equal (in the "==" sense), unless they are the...