Previous section To contents

2.3.3 main() again

Once again main() is left unchanged, except for yet another two case statements used to call the search() and delete functions, respectively. Note that you must provide an argument to delete or it will not work properly.
case "delete":
    delete_record((int)args);
    break;

case "search":
    find_song(args);
    break;

Previous section To contents