{"id":21849530,"url":"https://github.com/megh2005/cse-1051","last_synced_at":"2026-04-02T01:50:04.851Z","repository":{"id":239695689,"uuid":"800284349","full_name":"Megh2005/CSE-1051","owner":"Megh2005","description":"For 1st years of HITK","archived":false,"fork":false,"pushed_at":"2024-07-09T20:36:01.000Z","size":25,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-07-10T01:04:29.803Z","etag":null,"topics":["c"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Megh2005.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-05-14T03:37:36.000Z","updated_at":"2024-07-09T20:36:04.000Z","dependencies_parsed_at":"2024-05-14T04:42:42.146Z","dependency_job_id":"364277c6-4554-407e-abf6-0b9da9f95e1f","html_url":"https://github.com/Megh2005/CSE-1051","commit_stats":null,"previous_names":["megh2005/cse-1051"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Megh2005%2FCSE-1051","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Megh2005%2FCSE-1051/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Megh2005%2FCSE-1051/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Megh2005%2FCSE-1051/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Megh2005","download_url":"https://codeload.github.com/Megh2005/CSE-1051/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226837243,"owners_count":17689941,"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"],"created_at":"2024-11-28T00:13:18.702Z","updated_at":"2025-12-26T03:52:32.930Z","avatar_url":"https://github.com/Megh2005.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Coding In C Using Ubuntu Linux OS\n\n## Configuration\n### Linux Configuration\nLinux comes with its inbuilt C code compiler named `gcc`\n- **Create a directory in [Ubuntu](https://ubuntu.com/download/desktop)**\n```sh\nmkdir directoryname\n```\n- **Move to the created directory**\n```sh\ncd directoryname\n```\n- **Create a file for C code**\n```sh\ngedit filename.c\n```\n- **For compilation of code**\n```sh\ngcc filename.c -o filename.o\n```\n- **If `math.h` is used then for compilation of code**\n```sh\ngcc filename.c -o filename.o -lm\n```\n- **For running the correctly compiled code**\n```sh\n./filename.o\n```\n\n### Windows Configuration\n**Windows never comes with any inbuilt C code compiler**\n- **Install an external ide. My suggestion is [Dev Cpp](https://sourceforge.net/projects/dev-cpp/files/Binaries/Dev-C%2B%2B%204.9.9.2/devcpp-4.9.9.2_setup.exe/download).**\n- **In external ide you can automatically compile and run your code**\n\n## Technicalities\n### Topics you should learn before seeing this codes\n- **Data types in C**\n- **Basic operations in C**\n- **Functions in C**\n- **Recursion method**\n- **Loops and conditions**\n- **Arrays in C**\n- **Pointers in C**\n- **Strings and structures**\n- **Files in C**\n- **Other minor topics**\n### Size of various data types in C\n| Data Type| Indicator| Specifier| Size  |\n| -------- | -------- | ---------|-------|\n| Integer  | int      | %d       | 2 byte|\n| Decimal  | float    | %f       | 4 byte|\n| Character| char     | %c       | 1 byte|\n\n### A basic hello world programme in C\n```c\n#include\u003cstdio.h\u003e\nint main()\n{\n    printf(\"Hello World\");\n    return 0;\n}\n```\n### Appendix\n![C Badge](https://img.shields.io/badge/C-A8B9CC?logo=c\u0026logoColor=fff\u0026style=for-the-badge)\n\u0026nbsp;\n![Linux Badge](https://img.shields.io/badge/Linux-FCC624?logo=linux\u0026logoColor=000\u0026style=for-the-badge)\n \u0026nbsp;\n![Ubuntu](https://img.shields.io/badge/Ubuntu-E95420?logo=ubuntu\u0026logoColor=fff\u0026style=for-the-badge)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmegh2005%2Fcse-1051","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmegh2005%2Fcse-1051","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmegh2005%2Fcse-1051/lists"}