Disclosed herein are polymers made from at least three monomers of formulae (I), (II), (III), and (IV) that may be used in pharmaceutical formulations. These polymers comprise a hydrocarbon backbone and are made from monomers that contain at least one carbon-carbon double bond. Methods of making the polymers are also disclosed.