- 3
Write a program to delete a specified line in textile.should execute as ./a.out <linenumber> <filename>
In Linux OS program should be in command line.
1 Réponse
+ 2
I think it will be required to enter the file name as user input stored in array of char but the use of argv is also required to check if user will give filename and line number as command line argument .the code will be executed as this example:
./a.out file 6