Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct Curvimeter
- {
- int weight; // weight of the curvimeter ()
- int dial; // diameter of the dial (cm)
- bool isMechanic; // curvimeter can be mechanic(true)
- // or electronic(false)
- const char* rollerMaterial; // curvimeter roller can be plastic or metal
- bool isCondition; // curvimeter can be functional(true)
- // or disfunctional(false)
- };
- // initialization of the curvimeter
- void init(Curvimeter*,
- int weight = 5,
- int dial = 8,
- bool isMechanic = true,
- const char* rollerMaterial = "metal\0");
- // visualization of the curvimeter
- void condition(Curvimeter*);
- // functionality or dysfunctionality of the curvimeter
- void functionality(Curvimeter*);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement