Changes

MyWikiBiz, Author Your Legacy — Tuesday November 19, 2024
Jump to navigationJump to search
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.
123

edits

Navigation menu