HW: BASIC code sorting
- Consider the sample code of hw17.cpp,
which can input BASIC code and list the program.
- 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.
- Use this technique to enhance your BASIC interpreter.