|
21 | 21 | 1. [Sample Program Creating And Using Functions](#sample-program-creating-and-using-functions)
|
22 | 22 |
|
23 | 23 | ## Intro
|
24 |
| -Of all the inventions in the field of electronics |
25 |
| -like the radio and telephone, the programmable computer |
26 |
| -was the most significant one. It changed the |
27 |
| -world forever. |
28 |
| - |
29 |
| -If ever a certain device |
30 |
| -can be programmed the way we want it to behave, then |
31 |
| -we can simply instruct it to do things for us. |
32 |
| -That's very practical, isn't it? |
33 |
| - |
34 |
| -After programmable computers, the next |
35 |
| -big question was how humans would program these computers. |
36 |
| -They began developing programming languages and |
37 |
| -the 1970s was a very remarkable period: |
38 |
| -the C language was invented. |
39 |
| - |
40 |
| -After this success, the great potential was unleashed |
41 |
| -and we are now seeing the things a programmable computer |
42 |
| -can do: the era of information, real-time data, |
43 |
| -almost realistic 3D games, artificial intelligence, etc. |
44 |
| - |
45 |
| -Learning computer science today involves |
46 |
| -many specialized fields, unlike in the past: |
47 |
| -there are too many |
48 |
| -fields even in software development alone. |
49 |
| - |
50 |
| -And if you are a beginner, you might be discouraged |
51 |
| -from all the things you need to learn but don't worry: |
52 |
| -**you don't need to learn them all**. What you need |
53 |
| -to learn first is the understanding how computers work |
54 |
| -and the fundamentals of computer programming that |
55 |
| -all computer programming languages have in common. |
56 |
| - |
57 |
| -And since almost every programming language nowadays |
58 |
| -directly and indirectly inherits concepts from |
59 |
| -the C language, we'll be using it to demonstrate |
60 |
| -the core concepts of programming. |
61 |
| - |
62 |
| -*Take note: we don't want to discuss every |
63 |
| -detail of the code in terms of the C language, |
64 |
| -rather we just want to get the core |
65 |
| -concepts of computer programming that are |
66 |
| -common in different programming languages.* |
| 24 | +Of all the inventions in the field of electronics like the radio and |
| 25 | +telephone, the programmable computer was the most significant one. It |
| 26 | +changed the world forever. |
| 27 | + |
| 28 | +If ever a certain device can be programmed the way we want it to |
| 29 | +behave, then we can simply instruct it to do things for us. That's very |
| 30 | +practical, isn't it? |
| 31 | + |
| 32 | +After programmable computers, the next big question was how humans |
| 33 | +would program these computers. They began developing programming |
| 34 | +languages and the 1970s was a very remarkable period: the C language |
| 35 | +was invented. |
| 36 | + |
| 37 | +After this success, the great potential was unleashed and we are now |
| 38 | +seeing the things a programmable computer can do: the era of |
| 39 | +information, real-time data, almost realistic 3D games, artificial |
| 40 | +intelligence, etc. |
| 41 | + |
| 42 | +Learning computer science today involves many specialized fields, |
| 43 | +unlike in the past: there are too many fields even in software |
| 44 | +development alone. |
| 45 | + |
| 46 | +And if you are a beginner, you might be discouraged from all the things |
| 47 | +you need to learn but don't worry: **you don't need to learn them all**. |
| 48 | +What you need to learn first is understanding how computers work and |
| 49 | +the fundamentals of computer programming that all computer programming |
| 50 | +languages have in common. |
| 51 | + |
| 52 | +And since almost every programming language nowadays directly and |
| 53 | +indirectly inherits concepts from the C language, we'll be using it to |
| 54 | +demonstrate the core concepts of programming. |
| 55 | + |
| 56 | +*Take note: we don't want to discuss every detail of the code in terms |
| 57 | +of the C language, rather we just want to get the core concepts of |
| 58 | +computer programming that are common in different programming |
| 59 | +languages.* |
67 | 60 |
|
68 | 61 | ## Input And Output
|
69 | 62 | As was mentioned, a programmable computer is very
|
|
0 commit comments