Home Forums C Programming Regarding replacing line of code??

Viewing 1 reply thread
  • Author
    Posts
    • #2096
      asfaltinabelle
      Participant

      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
      Priyansh Agrawal
      Participant

      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:

Viewing 1 reply thread
  • The forum ‘C Programming’ is closed to new topics and replies.