| CS183 -- Lab 1: Using Existing Classes |
|
|
OverviewThe purpose of this lab is to design and implement a stand-alone program that incorporates basic C++ programming concepts. These concepts, covered in CS-182, are prerequisites for CS-183. AcknowledgementThis lab was developed by Dr. Chris Taylor and relies on the Xaudio SDK. Problem StatementWrite a program that will read (a user selectable) play list file that contains a list of MP3 filenames. The program should then load and play the list of files in alphabetical order according to their title (not filename). Your program should make use of the Xaudio SDK (Software Development Toolkit) and an existing class library containing the single MP3 class. The MP3 class and Xaudio SDK do all the hard work related to loading decoding and playing the MP3 files. The definition of this class is in the file MP3.h, while the implementation is in MP3.cpp. Both files are contained in MP3code.zip. You should not modify the MP3 files, but you will need to add them to your project. Your program must make use of the STL list class to store the playlist. You may not use any global data objects (at file scope). Detailed InstructionsIf you have never used the Microsoft Visual C++ compiler, you may want to take a look at the following CS182 lab assignment for help on how to create a project workspace in MSVC++. If you have difficulties with any part of the lab, consult the instructor for assistance. The basic sequence is:
Lab report (due 11:00pm, the day prior to week 3 lab)The lab report should consist of the following:
As with any report you submit, correct spelling and grammar are required. In addition, your report should be submitted electronically following the Electronic submission guidelines. (You may wish to consult the sample report before submitting your report.) Be sure to keep copies of all your files, in case something gets lost. It may be wise to keep a diskette backup as well. Your grade will depend on quality of design and clarity of the code and documentation, as well as whether your program produces the correct results. If you have any questions, consult your instructor. |
| © 2001 Dr. Christopher C. Taylor | Office: CC-27C | Phone: 277-7339 | Last Updated: September 8, 2001 |
| I am responsible for all content posted on these pages; MSOE is welcome to share these opinions but may not want to. | |||