if not cross platform use mciSendString() (windows) winmm.lib, mmsystem.h header, and need to include windows.h as well