如何开始我的第一个项目. [英] How to start my first project.

查看:89
本文介绍了如何开始我的第一个项目.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好.我对编程非常陌生,我有一个要编写的项目,但不知道如何开始,任何人都可以帮忙吗?我要写发票,报价和程序.有人请我开始.
感谢

Hello out there. I am very new to programming and I have a project to write but do not know how to start, can anyone help? I am ask to write a invoice and quotation and program. Someone please me and start.
Thank

推荐答案

由于这是您的作业,我什至不会尝试给您代码.

首先,请忽略这是计算机程序.

拿一些纸和一支铅笔,算出您需要知道些什么,以便手动产生发票或报价单. (在纸上)尝试一下,您有所需的一切吗?您想在开始之前要求更多吗?有没有不用的东西?添加或删除,然后重试.

当您满意所有信息时,请将其写下来-这些是程序执行主要任务之前需要获得的输入.

现在对输出执行相同操作:您必须将什么放在哪里?当你高兴的时候,这些就是你的程序输出-写下来吧!

现在,您要做的只是三个阶段:输入,处理,输出.对于像这样的简单工作,处理将是最少的!

因此,从Input开始并实现它.然后对它进行几次测试,并输入错误的信息(日期字段中的人名,不良的产品ID等).当你快乐的时候,继续前进.

我无法提供详细信息,因为我不知道您的应用程序将在哪种环境下运行-但这是设计任何系统的基本过程.将其分为可管理的大块,并查看输入,输出以及中间如何处理.
Since this is your homework, I won''t even try to give you code.

Start off by ignoring that this is a computer program.

Get some paper, and a pencil, and work out what you need to know in order to manually produce an invoice or a quotation. Try it out (on paper) Do you have all you need? Do you want to ask for more before you start? Is there something you didn''t use? Add or remove, and try again.

When you are happy that you have all the information, write it down - these are the inputs your program will need to get before it can do the main task.

Now do the same for outputs: what do you have to put where? When you are happy, those will be your program outputs - write it down!

Now all you have to do is three stages: Input, Processing, Output. For a simple job like this, Processing will be minimal!

So start with Input, and implement it. Then test it, several times, complete with entering the wrong information (peoples names in the date field, bad product IDs, that sort of thing). When you are happy, move on.

I can''t give you details, because I have no idea what kind of environment your application is going to run under - but that is the basic process to design any system. Break it into manageable chunks, and look at what goes in, what goes out, and how it is processed in the middle.


尝试在纸上写下程序的算法(要点)找出变量(输入/输出),然后开始编写模块化程序.
Try to write down on paper the program''s Algorithm (main points) to figure out your variables (input/output) then begin by writing modular programm.


根据编程法则,您的第一个程序必须是Hello World!如果您用google搜索,我相信您会发现很多,而且我的意思是说很多关于代码的完整解释的教程.我认为您应该调查一下它们:)
By programming law your first program has to be Hello World! If you google it i am sure you will find many and i really mean many tutorials with full explanation about the code. I think you should look into them :)


这篇关于如何开始我的第一个项目.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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