Page 1 of 1

145 146 147 148 149 150 Ebool saveClips (List& clips, char filename[]) { // TODO: Write the code for the function return

Posted: Thu May 05, 2022 1:36 pm
by answerhappygod
145 146 147 148 149 150 Ebool Saveclips List Clips Char Filename Todo Write The Code For The Function Return 1
145 146 147 148 149 150 Ebool Saveclips List Clips Char Filename Todo Write The Code For The Function Return 1 (16.63 KiB) Viewed 37 times
145 146 147 148 149 150 Ebool Saveclips List Clips Char Filename Todo Write The Code For The Function Return 2
145 146 147 148 149 150 Ebool Saveclips List Clips Char Filename Todo Write The Code For The Function Return 2 (36.52 KiB) Viewed 37 times
145 146 147 148 149 150 Ebool saveClips (List& clips, char filename[]) { // TODO: Write the code for the function return true;
saveClips This function is used to save a series of animation files making up an animation. This function receives as parameters the List of clips and a base filename. The filename it receives should be of the form: SavedFiles\example. This function should form the rest of the filename, such as SavedFiles\example-1.txt, then call the saveCanvas to write a node from the list into this file. The function should create the next filename, such as SavedFiles\example-2.txt, and then call the saveCanvas to write the next node from the list into this file. This process continues until all nodes from the list have been written to files. The function returns false if any of the files fail to be written, and returns true if all files are written.