Open main menu
Home
Random
Log in
Settings
About MyWikiBiz
Disclaimers
MyWikiBiz
Search
Changes
← Older edit
Directory:Derek Elder/Programs/SortedMovieList
(view source)
Revision as of 00:51, 18 December 2007
4 bytes removed
,
00:51, 18 December 2007
m
no edit summary
Line 29:
Line 29:
//Precondition:Add function must be called and executed.
//Precondition:Add function must be called and executed.
//Postcondition:String compare function is called to execute the comparison, resulting in two possible outcomes:
//Postcondition:String compare function is called to execute the comparison, resulting in two possible outcomes:
−
//
1.A positive value is returned and is added into the list.
+
//
1.A positive value is returned and is added into the list.
−
//
2.A 0 or a negative value is returned and isn't added into the list.
+
//
2.A 0 or a negative value is returned and isn't added into the list.
void Initialize(string title, int year, int gross, string studio, string stars);
void Initialize(string title, int year, int gross, string studio, string stars);
//Purpose:Initializes a movie item with data, basically a constructor.
//Purpose:Initializes a movie item with data, basically a constructor.
Derek Elder
123
edits