我想在段落文件中切换句子的每个位置 [英] i want to toggle each position of a sentence in a paragraph ussing file

查看:63
本文介绍了我想在段落文件中切换句子的每个位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用c中的文件程序在一个段落中切换easch和evry句子。例如,如果有一个句子我是一个男孩然后我想打印它像AM我BOY Ai已经使用文件概念颠倒了内容我无法正确编码。请帮助我的朋友解决我的问题。

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.

推荐答案

我们不做你的功课:这是有原因的。它就是为了让你思考你被告知的事情,并试着理解它。它也在那里,以便您的导师可以识别您身体虚弱的区域,并将更多的注意力集中在补救措施上。



亲自尝试,你可能会发现它不是和你想的一样困难!



首先想一想你要做什么:使用两个文件(一个输入,一个输出)然后读一个单词,存储它。读另一个字,写它,写存储的字。继续,直到你的输入用完......



如果您遇到特定问题,请询问相关问题,我们会尽力提供帮助。但我们不打算为你做这一切!
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!


这篇关于我想在段落文件中切换句子的每个位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆