HW: BASIC code sorting

  1. Consider the sample code of hw17.cpp, which can input BASIC code and list the program.
  2. Try to utilize a linked-list (instead of an array) to store the statements, so that it will be easier for you to insert a line with line number 15, after 10, 20, 30 has been inserted.
  3. Use this technique to enhance your BASIC interpreter.