Hey, Cliff and gang. How's this?
Too Borland spcific?
#include
#include
#include
class crazy
{
private:
int pooky, kooky;
float smoky;
public:
void install(int p, int k, float f)
{
pooky = p; kooky = k; smoky = f;
}
void display()
{
cout << "Pooky = " << pooky << endl;
cout << "Kooky = " << kooky << endl;
cout << "Smoky = << $"
<< setiosflags(ios:: showpoint)
<< setprecision(2)
<< setw(2)
<< smoky;
}
};
void main()
{
crazy kookie, lookie, smooky;
kookie.install (100, 200, 4.50);
clrscr();
kookie.display();
}
-------------------------------END HERE-----------------------
Sincerely,
Frank
--- PPoint 2.03
---------------
* Origin: Maybe in 5,000 years - frankmas@juno.com (1:396/45.12)
|