Assertion: class | /r/HasProperty | iostream
Facets:
Source sentences:
text: // example: one class, two objects #include <iostream> using namespace std; class Rectangle { int width, height
text: // classes and uniform initialization #include <iostream> using namespace std; class Circle { double radius; public : Circle( double r) { radius = r; } double circum() { return 2*radius*3.14159265;} }; int main () { Circle foo (10.0); // functional form Circle bar = 20.0; // assignment init.