Simple Program for me please?!!
Hi guys. I have a problem for uni that is simly driving me mad. as someone who is VERY new to the work of C (basic of basic) i need some help.
Here is the problem:-
Write a C program that reads a file containing the source of a C program and specifically:
a. Removes all comments.
b. Removes all unnecessary spaces and formatting.
c. Writes the processed code to a second file using a maximum of 80 characters on a line. (Be careful not to break up text strings.)
d. Takes its input and output filenames as arguments to the programís command line.
Thank very much in advance
Re: Simple Program for me please?!!
You have posted it as an Article under the Article / Source code section. I have moved it to the Queries and Discussion forum.
You should not be posting the queries in the manner you have done but if you are stuck at any place you can ask the experts. This forum is not for your assignments.
|All times are GMT +5.5. The time now is 06:13.|