-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* create web use mkdocs-material * change file ./docs/wiki/Study_Git/local_hub.md * change file docs/index.md docs/wiki/Study_Git/local_hub.md. remove file index.html * fix file docs/wiki/MSD/MSD_Diffusion-Coefficient_and_calculation.md * change file mkdocs.yml, add file css/extra.css, change file of VASP/blue_moon * change file local_hub.md * change file local_hub.md; add file 恒电势模拟及避坑指南_DFT-基于电子的恒电势数学模型和意义.md * change file mkdocs.yml * modified: docs/index.md; new file: docs/javascripts/mathjax.js; deleted one png; modified constP based on electron; modified: mkdocs.yml * modified: .github/workflows/ci.yml;modified: docs/blog/index.md;new file: docs/icons/*.png; modified: docs/index.md; modified: mkdocs.yml; modified: some file in docs/wiki/ * Fixes #11; new file: .gitignore; renamed: docs/blog/posts/LaTeX_with_Docker.md -> docs/blog/LaTeX_with_Docker.md; new file: docs/blog/hello-world.md; deleted: docs/blog/posts/hello-world.md; modified: mkdocs.yml; not push site/ to github
- Loading branch information
Showing
37 changed files
with
16,423 additions
and
1,029 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
site/ |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
--- | ||
Titel: Hello world! | ||
draft: True | ||
date: 2024-09-07 | ||
--- | ||
|
||
# Hello world! | ||
**Let's start together!** | ||
|
||
<!-- more --> | ||
|
||
## 引言 | ||
|
||
“Hello World”程序是编程入门的经典示例。无论你学习哪种编程语言,通常都会从这个简单的程序开始。它的目的是让你了解基本的语法和编译运行过程。 | ||
|
||
## 示例代码 | ||
|
||
以下是几种常见编程语言的“Hello World”代码示例: | ||
|
||
### Python | ||
|
||
```python | ||
print("Hello, World!") | ||
``` | ||
|
||
### C | ||
|
||
```c | ||
#include <stdio.h> | ||
|
||
int main() { | ||
printf("Hello, World!\n"); | ||
return 0; | ||
} | ||
``` | ||
|
||
### Java | ||
|
||
```java | ||
public class HelloWorld { | ||
public static void main(String[] args) { | ||
System.out.println("Hello, World!"); | ||
} | ||
} | ||
``` | ||
|
||
### JavaScript | ||
|
||
```javascript | ||
console.log("Hello, World!"); | ||
``` | ||
|
||
## 解释 | ||
|
||
- **Python**: 使用 `print` 函数输出字符串。 | ||
- **C**: 使用 `printf` 函数输出字符串,并包含标准输入输出库 `stdio.h`。 | ||
- **Java**: 定义一个类 `HelloWorld`,在 `main` 方法中使用 `System.out.println` 输出字符串。 | ||
- **JavaScript**: 使用 `console.log` 输出字符串。 | ||
|
||
## 结论 | ||
|
||
“Hello World”程序虽然简单,但它是编程学习的重要一步。通过编写这个程序,你可以熟悉编程语言的基本语法和运行环境。 | ||
|
||
--- | ||
|
||
希望这个示例对你有帮助!你可以根据自己的需求和风格进行调整和扩展。如果你有任何问题或需要进一步的帮助,请随时告诉我。😊 | ||
|
||
## References: | ||
(1) helloworld - 同一个世界,同一行代码. https://www.helloworld.net/.<br> | ||
(2) Qt5——从零开始的Hello World教程(Qt Creator) - suvvm - 博客园. https://www.cnblogs.com/suvvm/p/10643826.html.<br> | ||
(3) C语言学习2:Hello World!详解 - CSDN博客. https://blog.csdn.net/JAVADGAVIN/article/details/111212062. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.