While all the above advice is probably good, you wouldn't be the first smoker that has a cough. I developed one when I was still smoking, and I see smokers everyday that have that persistant cough.
Nobody knows better than I how hard it is to quit, but after you do it, you'll see how easy it was, and wonder why you didn't do it sooner.