|
1 | 1 | [
|
| 2 | + { |
| 3 | + "categoryName": "Basics", |
| 4 | + "snippets": [ |
| 5 | + { |
| 6 | + "title": "Hello, World!", |
| 7 | + "description": "Prints Hello, World! to the terminal.", |
| 8 | + "code": [ |
| 9 | + "#include <iostream> // Includes the input/output stream library", |
| 10 | + "", |
| 11 | + "int main() { // Defines the main function", |
| 12 | + " std::cout << \"Hello, World!\" << std::endl; // Outputs Hello, World! and a newline", |
| 13 | + " return 0; // indicate the program executed successfully", |
| 14 | + "}" |
| 15 | + ], |
| 16 | + "tags": ["cpp", "printing", "hello-world", "utility"], |
| 17 | + "author": "James-Beans" |
| 18 | + } |
| 19 | + ] |
| 20 | + }, |
2 | 21 | {
|
3 | 22 | "categoryName": "String Manipulation",
|
4 | 23 | "snippets": [
|
|
0 commit comments