• 首页 首页 icon
  • 工具库 工具库 icon
    • IP查询 IP查询 icon
  • 内容库 内容库 icon
    • 快讯库 快讯库 icon
    • 精品库 精品库 icon
    • 问答库 问答库 icon
  • 更多 更多 icon
    • 服务条款 服务条款 icon

C用C语言进行测验,使用填充用户进入下问题。重复

用户头像
it1352
帮助1

问题说明

我正在使用c语言进行测验。我想阅读文件中的所有问题,以便当问题打印在屏幕上时,用户可以选择答案,然后用户可以进入下一个问题。请帮忙。浪费了2个小时还不知道怎么样。请提前回复asap.thanks。

C



我尝试过:



i认为使用循环和break可以打印问题然后要求用户输入答案然后转移到另一个问题等等。

I am making a quiz using c language.I want to read all the questions from the file and so that when the questions is printed on the screen the user can choose the answer and then the user can go onto the next question.please help.wasted 2 hours still don't know how. please reply asap.thanks in advance.
C

What I have tried:

i think using loops and break can print the question then asks for user input for answer then move onto another question and so on.

正确答案

#1
你的问题是如此基本,它告诉我们你的问题是你对编程技术缺乏了解。



建议:暂时忘记你的项目并关注tutos关于编程。

我建议学习一些分析技巧

- Dijkstra自上而下方法是一个好的开始。

https://en.wikipedia.org/wiki/Top-down_and_bottom-up_design [ ^ ]

https://en.wikipedia.org/wiki/Str uctured_programming [ ^ ]

https://en.wikipedia.org/wiki/Edsger_W._Dijkstra [ ^ ]

https://www.cs.utexas.edu/users/EWD/ewd03xx/EWD316.PDF [ ^ ]
Your question is so basic that it tells us that your problem is your lack of understanding in programing techniques.

Advice: forget your project for now and follow tutos about programming.
I recommend to learn some analyze techniques
- Dijkstra Top-Down method is a good start.
https://en.wikipedia.org/wiki/Top-down_and_bottom-up_design[^]
https://en.wikipedia.org/wiki/Structured_programming[^]
https://en.wikipedia.org/wiki/Edsger_W._Dijkstra[^]
https://www.cs.utexas.edu/users/EWD/ewd03xx/EWD316.PDF[^]

这篇好文章是转载于:学新通技术网

  • 版权申明: 本站部分内容来自互联网,仅供学习及演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,请提供相关证据及您的身份证明,我们将在收到邮件后48小时内删除。
  • 本站站名: 学新通技术网
  • 本文地址: /reply/detail/tanhcfhaci
系列文章
更多 icon
同类精品
更多 icon
继续加载