How to add line numbers to an output file?

后端 未结 2 987
傲寒
傲寒 2020-12-20 08:53

Write a program that asks the user for a file containing a program and a name for an output file. Your program should then write the program, with line numbers to the output

2条回答
  •  温柔的废话
    2020-12-20 09:26

    Check out this question, it describes exactly what you're looking for. Let me know if you need more details.

提交回复
热议问题