int plus(int, int) { . . .}
- binary function
int negative(int) { . . . }
- unary function
operator
bool operator == (hand h1, hand h2) { . . . }
bool operator == (hand h1, hand h2, hand h3) { . . }
double operator == (hand h1, int i) { . . . }
int operator / (int i, int j) { . . . }
hand h1, h2; if (h1 == h2) { . . . }
hand h1, h2; if (operator ==(h1, h2) { . . . }
bool operator == (hand h) { . . . }
hand h1, h2; if (h1 == h2) { . . . }
hand h1, h2; if (h1.operator ==(h2) { . . . }
This page last modified on 25 June 2001.