Please consider ripping your cd's before selling or giving them away. By using flac or another lossless codec you can keep a collection that would take up many shelves or boxes in an external hd that's the size of a pack of cigarettes for future enjoyment.
Ripping cd's is somewhat time consuming, but there are many programs available to help rip and catalog the files, and many ways to playback and enjoy the music for years to come.