{"id":19878582,"url":"https://github.com/dezashibi-c/b-hello-world","last_synced_at":"2026-05-06T19:40:52.132Z","repository":{"id":249658640,"uuid":"832012995","full_name":"dezashibi-c/b-hello-world","owner":"dezashibi-c","description":"How to get started in C as fast as possible, including installer scripts for windows","archived":false,"fork":false,"pushed_at":"2024-09-03T06:45:20.000Z","size":10250,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-01-11T17:48:31.706Z","etag":null,"topics":["c","cmake","devcpp","gcc","gcc-for-windows","git","installer","make","makefile","windows"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dezashibi-c.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-22T07:18:23.000Z","updated_at":"2024-09-03T06:45:23.000Z","dependencies_parsed_at":"2024-08-20T14:15:21.660Z","dependency_job_id":"1a6864ca-78ef-40c5-8b7c-d578034b3a2e","html_url":"https://github.com/dezashibi-c/b-hello-world","commit_stats":null,"previous_names":["dezashibi-c-projects/b-hello-world","dezashibi-c/b-hello-world"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dezashibi-c%2Fb-hello-world","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dezashibi-c%2Fb-hello-world/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dezashibi-c%2Fb-hello-world/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dezashibi-c%2Fb-hello-world/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dezashibi-c","download_url":"https://codeload.github.com/dezashibi-c/b-hello-world/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241308290,"owners_count":19941603,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","cmake","devcpp","gcc","gcc-for-windows","git","installer","make","makefile","windows"],"created_at":"2024-11-12T17:06:03.410Z","updated_at":"2026-05-06T19:40:52.090Z","avatar_url":"https://github.com/dezashibi-c.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hello World (Beginner)\n\nGet started with C as quickly as possible.\n\n## What is the `Hello World` project all about?\n\nThis repository contains concise code examples with sufficient explanations to help readers begin programming in C. The focus is on idiomatic and standard C practices without complicated or overly opinionated design decisions.\n\n**NOTE: I've purposefully have used `.exe` for target extension files in examples, it makes the `Makefile` and the compile commands can be used on windows and linux the same.**\n\n## Setting Up the Compiler\n\nThere are numerous resources available for setting up a C compiler, and if you're here, you likely have one installed. This guide assumes you're familiar with command-line compilation using `gcc` or `clang` on POSIX or Wondows operating systems.\n\nIf you prefer using an IDE like CLion or Visual Studio 2022, feel free to consult specific resources for those tools.\n\n### An Alternative\n\nThe `Zig` programming language compiler can serve as a convenient, drop-in C compiler.\n\nYou can download it from [here](https://ziglang.org/learn/getting-started/#installing-zig). After installation, add it to your system path or use it directly from the command line with `../../zig/zig cc ...`. You get the idea.\n\n### Portable development environment for Windows users\n\nHere is an alternative if you want a portable and fully configured `gnu` build environment check out [W64DevKit](https://github.com/skeeto/w64devkit).\n\nTo setup and config the environment automatically you can run the following script ([source code here](/install.ps1)) on Windows Powershell:\n\n```powershell\npowershell -c \"irm https://raw.githubusercontent.com/dezashibi-c/b-hello-world/main/install.ps1 | iex\"\n```\n\n**Note:** The script downloads the latest release and install it in `C` drive and add the bin folder\nto the user's `PATH`.\n\n#### Need `CMake` and `git`, what about good old `DevCPP`?\n\nDon't worry I have that script for you as well!\n\nSame as `W64DevKit` installer, this script downloads latest `DevCPP`, `git` and `cmake`, extract them to `C` drive and add their corresponding bin folder to the user's `PATH`, for `DevCPP` a shortcut to it's portable executable file also will be created on your desktop.\n\n```powershell\npowershell -c \"irm https://raw.githubusercontent.com/dezashibi-c/b-hello-world/main/install_extra.ps1 | iex\"\n```\n\n**👉 Together with `W64DevKit` you have now everything to start writing code, well go on!**\n\n## Wait, What about a cmake template?, I really really like to start coding right away!\n\nAlright, Alright, I hear you, [check out here](https://github.com/dezashibi-c/cmake_template).\n\n## License\n\nCreative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) License.\n\nPlease refer to [LICENSE](/LICENSE) file.\n\n## DevCPP License\n\nThe [devcpp.zip](/devcpp.zip) file is built by downloading the latest version of `Dev-C++` from [here](https://github.com/Embarcadero/Dev-Cpp/releases/tag/v6.3), extracting it and re-packing it to `zip` instead of `7z` after configuration to work with `W64DevKit`.\n\n👉 This re-distribution complies with `Dev-C++` license [here](https://github.com/Embarcadero/Dev-Cpp/blob/master/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdezashibi-c%2Fb-hello-world","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdezashibi-c%2Fb-hello-world","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdezashibi-c%2Fb-hello-world/lists"}