- 2
Text editor using files and strings
write a simple line editor. keep entire txt on a file, one line in a key Enter. start the prgm with entering EDIT file, after which a prompt appears along with line number . if the letter I is entered with a number n following it, insrt the txt to be followed before line n. If I is not followed by a # then insert the txt before the current line. If D is entered with 2 numbers n and m , one n, or no # following it l, then delete lines n through m, linen, or current line. do same with commnd L =listing lines
1 Odpowiedź
+ 1
Please, try to write your own code and if you have problems, please, write again