四路停车信号交通控制 [英] four way stop signal traffic control

查看:49
本文介绍了四路停车信号交通控制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试对带有停车标志的四路交叉口进行建模,以进行交通控制.

I am trying to model a four way intersection with stop signs for traffic control. Can anyone pl help me how to start coding for it in C?

推荐答案

您的家庭作业的对象几乎是在分析问题和解决问题之间有50/50的比例.实施解决方案.如果我们要给您提供设计建议,对您有什么好处?

提出自己的解决方案并加以实施.当您在编写的代码中遇到特定问题时,请返回此处提出问题,您可能会获得很多帮助.
The object of your homework assignment is prettyy much a 50/50 split between analyzing the problem and implementing a solution. What good is it going to do you if we were to give you a desgn?

Come up with your own solution and uimplement it. When you have a specific problem in the code you''ve written, come back here and ask a question, and you''ll probably get quite a bit of help.


尝试:
#include<stdio.h>
int main()
   {
   ... /* Insert your code here. */
   return 0;
   }

通常这是一个不错的起点.

That is normally a good place to start.


这篇关于四路停车信号交通控制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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