File tree Expand file tree Collapse file tree 1 file changed +41
-8
lines changed Expand file tree Collapse file tree 1 file changed +41
-8
lines changed Original file line number Diff line number Diff line change 9
9
10
10
## 开发工具 Developer Tools
11
11
12
- [ PhpStorm] ( https://www.jetbrains.com/phpstorm/ )
13
- [ IntelliJ IDEA] ( https://www.jetbrains.com/idea/ )
14
- [ Eclipse IDE] ( https://www.eclipse.org/downloads/ )
15
- Visual Studio Code
16
- Sublime Text 3
12
+ [ PhpStorm] ( https://www.jetbrains.com/phpstorm/ ) (php)
13
+
14
+ [ IntelliJ IDEA] ( https://www.jetbrains.com/idea/ ) (java)
15
+
16
+ [ GoLand] ( https://www.jetbrains.com/go/ ) (golang)
17
+
18
+ [ Eclipse IDE] ( https://www.eclipse.org/downloads/ )
19
+
20
+ Visual Studio Code
21
+
22
+ Sublime Text 3
23
+
17
24
18
25
## [ Shell] ( shell/README.md )
19
26
@@ -34,7 +41,7 @@ echo $(date +"%Y-%m-%d %T")
34
41
35
42
## [ C 语言] ( c/README.md )
36
43
37
- hello.c:
44
+ create file ` hello.c ` :
38
45
39
46
```
40
47
#include <stdio.h>
@@ -48,6 +55,7 @@ int main()
48
55
}
49
56
```
50
57
58
+ compile and run:
51
59
52
60
```
53
61
$ clang hello.c && ./a.out
@@ -59,7 +67,7 @@ Hello, World!
59
67
60
68
## [ PHP] ( php/README.md )
61
69
62
- Filename ` index.php ` :
70
+ create file ` index.php ` :
63
71
64
72
```
65
73
<?php
@@ -73,15 +81,40 @@ echo $str . "\n";
73
81
var_dump($str);
74
82
```
75
83
84
+ Run the code in terminal :
85
+
76
86
``` sh
77
87
$ php index.php
78
88
Hello, World!
79
89
string(13) " Hello, World!"
80
90
```
81
91
92
+ ## [ Go] ( go/README.md )
93
+
94
+ create file ` main.go ` :
95
+
96
+ ``` go
97
+ package main
98
+
99
+ import (
100
+ " fmt"
101
+ )
102
+
103
+ func main () {
104
+ fmt.Println (" Hello, World!" )
105
+ }
106
+ ```
107
+
108
+ compile and run:
109
+
110
+ ``` sh
111
+ $ go run main.go
112
+ ```
113
+
114
+
82
115
## [ Rust] ( rust/README.md )
83
116
84
- Filename : ` main.rs ` :
117
+ create file : ` main.rs ` :
85
118
86
119
``` rust
87
120
fn main () {
You can’t perform that action at this time.
0 commit comments