Having a cough for a long period of time is one of a number of different causes of weakness of some very important muscles, usually called the pelvic floor muscles. These muscles prevent leakage of urine and bowel movements, as well as controlling escape of wind (flatus) at embarrassing times.