mirror of
https://github.com/waylau/cangjie-programming-language-tutorial.git
synced 2025-01-23 02:40:21 +08:00
add hello_world demo
This commit is contained in:
parent
10a3f17ab2
commit
4ef81eec86
8
.gitignore
vendored
Normal file
8
.gitignore
vendored
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# MSVC Windows builds of cjc generate these, which store debugging information
|
||||||
|
*.cjo
|
||||||
|
*.exe
|
||||||
|
*.bchir2
|
||||||
|
target/
|
||||||
|
cjpm.lock
|
||||||
|
.vscode/
|
||||||
|
.cache/
|
5
samples/hello_world/main.cj
Normal file
5
samples/hello_world/main.cj
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
// main函数最先执行
|
||||||
|
main() {
|
||||||
|
// 打印Hello World!
|
||||||
|
println("Hello World!");
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user