+/EE312
software design
git clone https://git.julia.blue/+/EE312
6241299
master
1#ifndef _Customer_h 2#define _Customer_h 3 4#include "String.h" 5 6/* 7* Customer is still defined as a struct, i.e., all the elements are public 8* That might not be the best design, but it's adequate for now. Note that I've 9* added a pair of constructors. 10*/ 11struct Customer { 12String name ; 13int bottles ; 14int diapers ; 15int rattles ; 16 17Customer (String ); 18Customer (void ) { 19name = "__invalid__ "; 20 } 21}; 22 23#endif /* _Customer_h */