Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Added Hello, World! example to Python, Rust, Javascript and C++#17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Mathys-Gasnier merged 9 commits intoquicksnip-dev:mainfromjames-beans:main
Dec 30, 2024
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletionspublic/data/cpp.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,23 @@
[
{
"categoryName": "Basics",
"snippets": [
{
"title": "Hello, World!",
"description": "Prints Hello, World! to the terminal.",
"code": [
"#include <iostream> // Includes the input/output stream library",
"",
"int main() { // Defines the main function",
" std::cout << \"Hello, World!\" << std::endl; // Outputs Hello, World! and a newline",
" return 0; // indicate the program executed successfully",
"}"
],
"tags": ["cpp", "printing", "hello-world", "utility"],
"author": "James-Beans"
}
]
},
{
"categoryName": "String Manipulation",
"snippets": [
Expand Down
14 changes: 14 additions & 0 deletionspublic/data/javascript.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
[
{
"categoryName": "Basics",
"snippets": [
{
"title": "Hello, World!",
"description": "Prints Hello, World! to the terminal.",
"code": [
"console.log(\"Hello, World!\"); // Prints Hello, World! to the console"
],
"tags": ["javascript", "printing", "hello-world", "utility"],
"author": "James-Beans"
}
]
},
{
"categoryName": "Array Manipulation",
"snippets": [
Expand Down
14 changes: 14 additions & 0 deletionspublic/data/python.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
[
{
"categoryName": "Basics",
"snippets": [
{
"title": "Hello, World!",
"description": "Prints Hello, World! to the terminal.",
"code": [
"print(\"Hello, World!\") # Prints Hello, World! to the terminal."
],
"tags": ["python", "printing", "hello-world", "utility"],
"author": "James-Beans"
}
]
},
{
"categoryName": "String Manipulation",
"snippets": [
Expand Down
16 changes: 16 additions & 0 deletionspublic/data/rust.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,20 @@
[
{
"categoryName": "Basics",
"snippets": [
{
"title": "Hello, World!",
"description": "Prints Hello, World! to the terminal.",
"code": [
"fn main() { // Defines the main running function",
" println!(\"Hello, World!\"); // Prints Hello, World! to the terminal.",
"}"
],
"tags": ["rust", "printing", "hello-world", "utility"],
"author": "James-Beans"
}
]
},
{
"categoryName": "String Manipulation",
"snippets": [
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp