SeatingChart::SeatingChart (int theNumberOfRows,
int* numberOfSeatsPerRow)
: numberOfRows(theNumberOfRows)
Here is what makes this weird to me. numberOfRows is a variable NOT a function. Why does it have an arguement list? matter-of-factly, I don't understand much about this constructor at all.
int* numberOfSeatsPerRow)
: numberOfRows(theNumberOfRows)
Here is what makes this weird to me. numberOfRows is a variable NOT a function. Why does it have an arguement list? matter-of-factly, I don't understand much about this constructor at all.