如何写程序(国外英文资料).docVIP

  • 6
  • 0
  • 约3.99万字
  • 约 15页
  • 2017-06-05 发布于河南
  • 举报
如何写程序(国外英文资料)

如何写程序(国外英文资料) How to write a program The default category is 2009-02-02 11:21:18 reading 1336 comments 9 words: large and small subscriptions Many netizens asked me, how can I learn the programming? , this is not a two words can say clear, so I just wrote this article, for the vast number of enthusiasts a way to dispel doubts, no matter you are what kind of bird believe that can find in the article you want What is programming Words from a famous formula about: program = data structure + algorithm design Whenever I write down this formula, there is always a kind of new feeling in the heart, but this program world well-known formulas have a large number of up to, and Bill Gates, a friend who is competing against, I dissect the formula for everybody below: Program design is what you call programming, regardless of the deep meaning of the word, first look at the two nouns on the right side of the equation. According to the official definition: the operational object of the computer in a program design problem that is not numerically calculated, and the relationship and operation between them; An algorithm is a description of the solution to a particular problem, an ordered sequence of instructions. The official explanation is classic, but were getting confused. Dont worry. Ill explain it to you. Program design is like building a house, data structure is like brick, tile, and the algorithm is design paper. If you want to build a house, you have to have raw materials (data structures), but they dont automatically build the house you want; You must follow the instructions in the design drawing (the algorithm). That way you can have the house you want. Program design is the same, you use the compiler tools (such as into Jave/C/Basic/Pascal) has various functions statements or Basic structure (such as the Read/Write/Real/Boolean, etc.), they will not automatically arranged in your program code. You have to write in terms of what the program is supposed to do, and the funct

文档评论(0)

1亿VIP精品文档

相关文档