** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: phm2if.cpp,v 1.16 2000/12/17 23:30:48 kevin Exp $
+** $Id: phm2if.cpp,v 1.17 2001/01/02 05:34:57 kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
{0, 0, 0, 0}
};
-static const char* g_szIdStr = "$Id: phm2if.cpp,v 1.16 2000/12/17 23:30:48 kevin Exp $";
+static const char* g_szIdStr = "$Id: phm2if.cpp,v 1.17 2001/01/02 05:34:57 kevin Exp $";
void
phm2if_usage (const char *program)
double dmin, dmax;
int nscale;
- printf ("Enter display size scale (nominal = 1): ");
- scanf ("%d", &nscale);
- printf ("Enter minimum and maximum densities (min, max): ");
- scanf ("%lf %lf", &dmin, &dmax);
+ std::cout << "Enter display size scale (nominal = 1): ";
+ std::cin >> nscale;
+ std::cout ("Enter minimum and maximum densities (min, max): ";
+ std::cin >> dmin;\r
+ std::cin >> dmax;
pImGlobal->displayScaling (nscale, dmin, dmax);
}
}