21
edits
Changes
Created page with 'Under Construction =Movie Browser= Your task for the final application is to create a movie record browser using the CIO library. ==the file== The data file to store the movie r…'
Under Construction
=Movie Browser=
Your task for the final application is to create a movie record browser using the CIO library.
==the file==
The data file to store the movie records is in binary format.<br />
Records are kept in the following format:
<big><syntaxhighlight lang="cpp">
//class Movie{
struct Movie{
char name[71];
char actors[301];
char desc[1656];
char releaseDate[11];
unsigned long genre;
unsigned long rating;
};
</syntaxhighlight></big>
==Selecting data file==
There are two choices to select a data file to browse:
# Getting the file name through he command line argument list.
# Getting the file name thourgh a prompt within the program.
==Application Capabilities==
===Mandatory===
:90%
# Browse Opened data file
## goto next record
## goto previous record
## goto last record
## goto first record
## goto record by number
# edit the record
## save the edited record
## cancel editing a record without saving
## make sure edit information is not lost (saving unsaved data on exit with prompt)
===Optional===
:100% and up
# Search
#: to be able to narrow down the list of movies to the ones which fit to the search criteria
## Search on name on substring
## Search on actor's name on substring
## Search on the Date on exact match
=Movie Browser=
Your task for the final application is to create a movie record browser using the CIO library.
==the file==
The data file to store the movie records is in binary format.<br />
Records are kept in the following format:
<big><syntaxhighlight lang="cpp">
//class Movie{
struct Movie{
char name[71];
char actors[301];
char desc[1656];
char releaseDate[11];
unsigned long genre;
unsigned long rating;
};
</syntaxhighlight></big>
==Selecting data file==
There are two choices to select a data file to browse:
# Getting the file name through he command line argument list.
# Getting the file name thourgh a prompt within the program.
==Application Capabilities==
===Mandatory===
:90%
# Browse Opened data file
## goto next record
## goto previous record
## goto last record
## goto first record
## goto record by number
# edit the record
## save the edited record
## cancel editing a record without saving
## make sure edit information is not lost (saving unsaved data on exit with prompt)
===Optional===
:100% and up
# Search
#: to be able to narrow down the list of movies to the ones which fit to the search criteria
## Search on name on substring
## Search on actor's name on substring
## Search on the Date on exact match