You can use SDL library for work with CD-ROM and other multimedia stuff...

http://www.libsdl.org/cgi/docwiki.cgi/SDL_20API , section 7.