Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

This is how I see marriage

Name: Anonymous 2009-03-04 13:17

humans
- id
- forename
- surname
- birthdate

binary_marriages
- id
- partner_1_id (foreign key references column humans.id)
- partner_2_id (foreign key references column humans.id)
- marriage_date
- divorce_date (NULL if still married)

Name: Anonymous 2009-03-05 7:48

>>1
idiot!


struct human {
 long int     id;
 int          gender; // 0=none, 1=male, 2=female, 3=herm, 4=other
 char *       name;
 }
struct marriage {
 human *      member;
 void *       married_to_this; // set to another marriage struct if married to another human, or NULL if unmarried or already part of existing marriage
 }

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List