You have never done C++ going down to allocate your own memory with pointers & fun.
1 error -> 18 errors -> 30+ errors.... then you rewrite half your program, and you're fine.
Patience, young Skywalker.
Normally, when you have experience, you will program "robust" enough to make it compile.
The marriage system was done by me basically from scratch again at some point, and it could already use a revamp with some functions (namely putting the couples into a couples table, not in the marriedto field anymore... but that would make more things necessary).
Polygamy would make the entire proposing / marrying much more complicated.