Click here to Skip to main content
15,886,578 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i want to toggle easch and evry sentence in a paragraph using file program in c.for example if there is a sentence I AM A BOY then i want to print it like AM I BOY A.i have reversed the content using file concept i am unable to code this properly.please help me friends to sort out my problem.
Posted

1 solution

We do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action.

Try it yourself, you may find it is not as difficult as you think!

Start by thinking about what you have to do: use two files (one input, one output) then read a word, store it. Read another word, write it, write the stored word. Continue until you run out of input...

If you meet a specific problem, then please ask about that and we will do our best to help. But we aren't going to do it all for you!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900