Skip to content

Commit ee3ca6d

Browse files
authored
Update README.md
1 parent 5f24b40 commit ee3ca6d

File tree

1 file changed

+41
-8
lines changed

1 file changed

+41
-8
lines changed

README.md

Lines changed: 41 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,18 @@ jQuery
99

1010
## 开发工具 Developer Tools
1111

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+
1724

1825
## [Shell](shell/README.md)
1926

@@ -34,7 +41,7 @@ echo $(date +"%Y-%m-%d %T")
3441

3542
## [C 语言](c/README.md)
3643

37-
hello.c:
44+
create file `hello.c`
3845

3946
```
4047
#include <stdio.h>
@@ -48,6 +55,7 @@ int main()
4855
}
4956
```
5057

58+
compile and run:
5159

5260
```
5361
$ clang hello.c && ./a.out
@@ -59,7 +67,7 @@ Hello, World!
5967

6068
## [PHP](php/README.md)
6169

62-
Filename `index.php`:
70+
create file `index.php`:
6371

6472
```
6573
<?php
@@ -73,15 +81,40 @@ echo $str . "\n";
7381
var_dump($str);
7482
```
7583

84+
Run the code in terminal :
85+
7686
```sh
7787
$ php index.php
7888
Hello, World!
7989
string(13) "Hello, World!"
8090
```
8191

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+
82115
## [Rust](rust/README.md)
83116

84-
Filename: `main.rs` :
117+
create file : `main.rs` :
85118

86119
```rust
87120
fn main() {

0 commit comments

Comments
 (0)