added "using namespace std" (migration from iostream.h -> iostream) and some minor cast problems (SUN CC 6.0ea)
added "using namespace std" (migration from iostream.h -> iostream)
and some minor cast problems (SUN CC 6.0ea)

tkemmer/ball,tkemmer/ball,tkemmer/ball,tkemmer/ball,tkemmer/ball,tkemmer/ball