Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Customer Header File
- //More Windows-only programs. Again, needs modification to build on other OSes.
- #include <string>
- #include "address.h"
- #include "contact.h"
- #pragma once // again, I don't know...
- class Customer {
- private:
- int custnum; // This seems similar, only introducing one new concept.
- string name; // In a way, I pretty badly need something like this.
- public:
- Customer();
- Customer(int custnum, string name);
- //Accessors
- int getcustnum() { return custnum; }
- string getname() { return name; }
- //Mutators
- void setcustnum() { custnum = newcustnum; }
- void setname() { name = newname; }
- //Others
- void store(int custnum, string name);
- void print(void);
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement