Question: Write a c program that takes a subtitle file (a file with .srt extension) and a signed number (in milliseconds) as its inputs and add/subtract
Write a c program that takes a subtitle file (a file with .srt extension) and a signed number (in milliseconds) as its inputs and add/subtract that amount of time from all of the content of the file and store the modified file. For example, consider the following small part of a subtitle from the big bang theory: 1 00:00:03,25800:00:05,078 ooh, it's freezing out here. 2 60:60:65,58700:00:07,877 would you like me to... heat things up? The first text will appear at 00:00:03,258 till 00:00:05,078. it is very annoying if it is not synced with the movie. Your code moves all of the time forward or backward according to the number of milliseconds that the user specified
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
