Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   Simple Program for me please?!! (http://www.go4expert.com/forums/simple-program-t1838/)

ciaran182 8Nov2006 18:35

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

shabbir 9Nov2006 10:15

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.

Thread closed.

All times are GMT +5.5. The time now is 07:20.