Käynnissä

Simple C program

Write a C program that takes a command line argument that is the name of a text file and creates a new text file with a heading line

************file name************************

and the contents of the original file with line numbers added. If the file's name contains a period, use the part of the name before the period concatenated with .lis as the name of the new file. Otherwise, just concatenate .lis with the whole file name.

Taidot: C-ohjelmointi

Näytä lisää: program line, simple c, concatenate, c simple, c program, simple write, simple program text file, program write, original contents, part numbers, program simple command, program write text file, contents write, concatenate lis file name, argument, text write program, file program, simple text file program, command line program, write simple program, write program, line program, text file contents, program file

About the Employer:
( 1 review ) washington, United States

Projektin tunnus: #426940