{"id":22357389,"url":"https://github.com/ozgen/c-playground","last_synced_at":"2025-03-26T13:22:43.646Z","repository":{"id":265500872,"uuid":"896105835","full_name":"ozgen/c-playground","owner":"ozgen","description":"A collection of C programming examples, categorized by topics for easy navigation.","archived":false,"fork":false,"pushed_at":"2024-12-23T15:33:52.000Z","size":70,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-31T14:43:41.067Z","etag":null,"topics":["c","mutex","pointers-in-c","pthreads"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ozgen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-11-29T14:57:16.000Z","updated_at":"2025-01-03T15:33:03.000Z","dependencies_parsed_at":"2024-12-17T14:31:23.746Z","dependency_job_id":"ccd59d30-eedc-49cd-86d3-b4cc0a27048b","html_url":"https://github.com/ozgen/c-playground","commit_stats":null,"previous_names":["ozgen/c-playground"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ozgen%2Fc-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ozgen%2Fc-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ozgen%2Fc-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ozgen%2Fc-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ozgen","download_url":"https://codeload.github.com/ozgen/c-playground/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245659432,"owners_count":20651600,"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","mutex","pointers-in-c","pthreads"],"created_at":"2024-12-04T14:14:10.345Z","updated_at":"2025-03-26T13:22:43.625Z","avatar_url":"https://github.com/ozgen.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# c-playground\n\nA collection of C programming examples, categorized by topics for easy navigation.\n\n## Wiki\nVisit the [wiki](https://github.com/ozgen/c-playground/wiki/Some-tips-while-programming-C) for tips on programming in C.\n\n---\n\n## Examples\n\n### Advanced Control Flow\n- [Comma Operator](./advanced-control-flow-ex/comma_operator_ex.c)\n- [Goto Statement Example 1](./advanced-control-flow-ex/goto_statement_ex.c)\n- [Goto Statement Example 2](./advanced-control-flow-ex/goto_statement_ex_2.c)\n- [Setjump Long Jump Example 1](./advanced-control-flow-ex/setjump_long_jump_func_ex.c)\n- [Setjump Long Jump Example 2](./advanced-control-flow-ex/setjump_long_jump_func_ex_2.c)\n\n### Advanced Data Types\n- [Complex Numbers](./advanced-datatypes-ex/complex_number_ex.c)\n- [Flexible Array Members](./advanced-datatypes-ex/flexible_array_mem.c)\n- [Variable Length Arrays](./advanced-datatypes-ex/variable_lenght_array_ex.c)\n\n### Advanced Functions\n- [No-return Function](./advanced-functions-ex/noreturn_function_ex.c)\n- [Recursion Example 1](./advanced-functions-ex/recursion_function_ex.c)\n- [Recursion Example 2](./advanced-functions-ex/recursion_function_ex_2.c)\n- [Recursion Example 3](./advanced-functions-ex/recursion_function_ex_3.c)\n- [Recursion Example 4](./advanced-functions-ex/recursion_function_ex_4.c)\n- [String Functions Example 1](./advanced-functions-ex/string_functions_ex.c)\n- [String Functions Example 2](./advanced-functions-ex/string_functions_ex_2.c)\n- [Variadic Function Example 1](./advanced-functions-ex/variadic_function_ex.c)\n- [Variadic Function Example 2](./advanced-functions-ex/variadic_function_ex_2.c)\n\n### Advanced Pointers\n- [Double Pointer Example 1](./advanced-pointers-ex/advanced_pointers_double_pointer_ex.c)\n- [Double Pointer Example 2](./advanced-pointers-ex/advanced_pointers_double_pointer_ex_2.c)\n- [Double Pointer Example 3](./advanced-pointers-ex/advanced_pointers_double_pointer_ex_3.c)\n- [Function Pointer Example 1](./advanced-pointers-ex/advanced_pointers_function_pointer_ex.c)\n- [Function Pointer Example 2](./advanced-pointers-ex/advanced_pointers_function_pointer_ex_2.c)\n\n### Bit Manipulation\n- [Bit Manipulation](./bit-manipulations-ex/bit_manipulation_ex.c)\n- [Bit Fields for Packed Data](./bit-manipulations-ex/bit_fields_packed_data_ex.c)\n- [Convert Binary to Decimal](./bit-manipulations-ex/convert_binary_to_decimal.c)\n- [Convert Decimal to Binary](./bit-manipulations-ex/convert_decimal_to_binary.c)\n- [Setting and Reading Bits](./bit-manipulations-ex/setting_reading%20bits.c)\n\n### Data Structures\n#### Binary Tree\n- [Binary Tree Implementation](./datastructure-ex/binary-tree/binary_tree.c)\n\n#### Linked List\n- [Doubly Linked List](./datastructure-ex/linklist/doubly_linklist.c)\n- [Single Linked List](./datastructure-ex/linklist/single_linklist.c)\n- [Single Linked List Example 2](./datastructure-ex/linklist/single_linklist_ex_2.c)\n\n#### Queue\n- [Queue Implementation](./datastructure-ex/queue/queue.c)\n\n#### Stack\n- [Stack Implementation](./datastructure-ex/stack/stack.c)\n\n### Debugging\n- [Debugging Example 1](./debugging-ex/debugging_ex.c)\n- [Debugging Example 2](./debugging-ex/debugging_ex_2.c)\n- [Debugging Example 3](./debugging-ex/debugging_ex_3.c)\n\n### Dynamic Library\n- [Main File](./dynamic-lib-ex/main.c)\n- [String Functions](./dynamic-lib-ex/StringFunctions.c)\n- [Header File](./dynamic-lib-ex/StringFunctions.h)\n- [Run Commands](./dynamic-lib-ex/run-ex-commands.sh)\n\n### Dynamic Loading\n- [Dynamic Loading Example](./dynamic-loading-ex/dynamicLoading.c)\n\n### Input/Output\n- [Character I/O Functions Example 1](./input-output-ex/char_io_functions_ex.c)\n- [Character I/O Functions Example 2](./input-output-ex/char_io_functions_ex_2.c)\n- [Character I/O Functions Example 3](./input-output-ex/char_io_functions_ex_3.c)\n- [Character I/O Functions Example 4](./input-output-ex/char_io_functions_ex_4.c)\n- [Format Functions Example 1](./input-output-ex/format_functions_ex.c)\n- [Format Functions Example 2](./input-output-ex/format_functions_ex_2.c)\n\n### Macros\n- [Macro Example 1](./macros-ex/macro_ex.c)\n- [Macro Example 2](./macros-ex/macro_ex_2.c)\n- [Macro Example 3](./macros-ex/macro_ex_3.c)\n- [Macro Example 4](./macros-ex/macro_ex_4.c)\n- [Macro Example 5](./macros-ex/macro_ex_5.c)\n- [Preprocessor Example](./macros-ex/preprocessor_ex.c)\n\n### Signals\n- [Handling Signals Example 1](./signals-ex/handling_signal_ex.c)\n- [Handling Signals Example 2 (Sigaction)](./signals-ex/handling_signal_sigaction_ex.c)\n- [Signal Fork Example](./signals-ex/signal_fork_ex.c)\n- [Simple Signal Example](./signals-ex/simple_signal.c)\n\n### Threads\n- [Threads Example 1](./threads-ex/thread_ex_1.c)\n- [Threads Example 2](./threads-ex/thread_ex_2.c)\n- [Threads Example 3](./threads-ex/thread_ex_3.c)\n- [Threads Condition Variables Example](./threads-ex/threads_conds_ex.c)\n- [Threads Mutex Example](./threads-ex/threads_mutex_ex.c)\n- [Threads Pass Arguments Example](./threads-ex/threads_pass_args_ex.c)\n- [Threads Simple Example](./threads-ex/threads_simple_ex.c)\n- [Threads Stack Management Example](./threads-ex/threads_stack_mngmt_ex.c)\n\n### Unions\n- [Union Example 1](./unions-ex/union_ex.c)\n- [Union Example 2](./unions-ex/union_ex_2.c)\n\n### Networking (Sockets)\n- [simple socket server Example](./networking-ex/networking_simple_socket_ex.c)\n- [simple socket client Example](./networking-ex/networking_simple_socket_client_ex.c)\n- [socket server Example 2](./networking-ex/server.c)\n- [socket client 1 Example 2](./networking-ex/client1.c)\n- [socket client 2 Example 2](./networking-ex/client2.c)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fozgen%2Fc-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fozgen%2Fc-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fozgen%2Fc-playground/lists"}