Regarding replacing line of code??

Home Forums C Programming Regarding replacing line of code??

This topic contains 1 reply, has 2 voices, and was last updated by  Priyansh Agrawal 9 years, 7 months ago.

  • Author
    Posts
  • #2096

    Dear All,
    My task is:- i have one file i have to identify the preprocessor directives and replace its equavalent lower case if already they are defined with upper case..i have wrote following code..but it is not working could you help me out to solve this?
     

  • #3385

    Sorry, your code looks very strange to me. Where do you want to place the output-file ? You opened an input-file for read-only. There you can’t make any changes.

    Perhaps this should help you:

You must be logged in to reply to this topic.

0 Shares
Share
+1
Tweet
Share
Stumble