File tree Expand file tree Collapse file tree 1 file changed +44
-4
lines changed Expand file tree Collapse file tree 1 file changed +44
-4
lines changed Original file line number Diff line number Diff line change @@ -4,13 +4,53 @@ The project is created to learning *Javascript* and *Python3*, but beginning wit
4
4
* Text editor* :1. [ Dev-C++] ( https://sourceforge.net/projects/orwelldevcpp/ ) 2. [ Visual Studio Code] ( https://code.visualstudio.com/ ) 3. [ Notepad ++] ( https://notepad-plus-plus.org/download/v7.5.3.html )
5
5
6
6
Also welcome to visit the [ Programming_CN] ( https://github.com/007tom/Programming_CN ) !
7
- ## Ⅰ. Knowledge Point
7
+ ## Ⅰ. Knowledge Point
8
+
9
+ Attention:
10
+
11
+ 1. All of the languages below is sensitive to case;
12
+
13
+ 2. ';' indicates that the end of a sentence;
14
+
15
+ 3. Please indent with "Tab" key or 4 keyboard instead;
16
+
8
17
### 1. * C++*
18
+
19
+ Tip:
20
+
21
+ Attention to priority of opertators.
22
+
23
+ #### 1.1 The meaning of program design:
24
+
25
+ ```
26
+ #include <iostream> // include library functions
27
+ using namespace std; // namespace
28
+ /* the main function */
29
+ int main() {
30
+
31
+ return 0;
32
+ }
33
+ ```
34
+
9
35
### 2. * Javascript*
36
+
37
+ #### 2.1 Data Type:
38
+ (1) Number:
39
+
40
+ + no distinction between int and float;
41
+ + * NaN* , standing for '* Not a Number* ', is used when sentences can not be computed!
42
+ + * Infinity* represents much great number, when used in case that the number exceed maximum!
43
+ ```
44
+ 0 / 0; // NaN
45
+ 2 / 0; // Infinity
46
+ ```
47
+
48
+ (2) String:
49
+
50
+ (3) Boolean: true false
51
+
10
52
### 3. * Python3*
11
- #### Tips:
12
- ##### 1. Make sure that * Tab = 4 Backspace* .
13
- ##### 2. Python program is * sensitive* to case.
53
+
14
54
## Ⅱ. Demos
15
55
### 1/33. Shopping
16
56
Description:
You can’t perform that action at this time.
0 commit comments