{"id":19825530,"url":"https://github.com/pconst/basic_c_examples","last_synced_at":"2025-11-24T05:04:03.865Z","repository":{"id":77101650,"uuid":"15815117","full_name":"pConst/basic_c_examples","owner":"pConst","description":"Short console apps demonstrating basic С language concepts","archived":false,"fork":false,"pushed_at":"2014-03-03T01:28:55.000Z","size":328,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-11T09:13:28.890Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pConst.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}},"created_at":"2014-01-11T02:08:36.000Z","updated_at":"2023-07-25T13:50:26.000Z","dependencies_parsed_at":"2023-02-27T07:17:16.610Z","dependency_job_id":null,"html_url":"https://github.com/pConst/basic_c_examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pConst%2Fbasic_c_examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pConst%2Fbasic_c_examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pConst%2Fbasic_c_examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pConst%2Fbasic_c_examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pConst","download_url":"https://codeload.github.com/pConst/basic_c_examples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241181431,"owners_count":19923439,"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":[],"created_at":"2024-11-12T11:08:00.034Z","updated_at":"2025-11-24T05:04:03.823Z","avatar_url":"https://github.com/pConst.png","language":"C++","readme":"﻿# basic_c_examples\n### Short console apps demonstrating basic С language concepts\n\n\n**array 1.cpp**\t\t- poiner access to array elements  \n**array 2.cpp**\t\t- dynamic memory allocation  \n**array 3.cpp**\t\t- ways to pass (multi-dimentional) array into function  \n\n**ArrayRev.cpp**\t\t\t\t- shows that array allocaton in C and Visual Basic are different at low-level  \n**ArrayRev VB (directory)**\t\t- the same  \n\n**checkzero.cpp**\t- on importance to initialize vars  \n\n**class 1.cpp**\t\t- calling constructors  \n**class 2.cpp**\t\t- calling copy constructors  \n**class 3.cpp**\t\t- static members and friend functions  \n\n**CMultiArr.cpp**  \n**New_multiArr.cpp**  \n**Dinamic_multiarr.cpp**\t\t- creating arbitrary multi-dimentional dinamic arrays  \n\n**Division.cpp**\t\t- as simple as it sounds  \n**empty.cpp**\t\t- i can`t understand this program (  \n**file.cpp**\t\t- stdio file access  \n\n**for sequence.cpp**\t\t- oneliner prog!  \n**for_style.cpp**\t\t\t- for decoration example  \n\n**functions 1.cpp**\t\t- passing arguments by pointer and by reference  \n**functions 2.cpp**\t\t- juggling with referencing-dereferencing  \n**functions 3.cpp**\t\t- using global vars inside a function  \n\n**incrementer.cpp**\t\t- written just to estimate how many elementary operations can i afford to get, say, 1 second delay  \n**inc_dec_comparation.cpp**\t\t- the same  \n\n**IntOrExtVarDefs.cpp**\t\t- declare vars outside of a cycle, compiler is a dumb thing  \n\n**matrix.cpp**\t\t- matrix arithmetic  \n\n**multiply 1.cpp**\t\t- factorization example  \n**multiply 2.cpp**\t\t- another factorization example  \n\n**NumberGuesser.cpp**\t\t- magical prog that guesses the number you propose  \n\n**permutations 1.cpp**\t\t- prints out P(k,n)  \n**permutations 2.cpp**\t\t- another try to print P(k,n)  \n\n**parentheses 1.cpp**\t\t- prints out all words of length (2*N)\u003e0 that represent valid nested curly braces \"(\" and \")\" **(That was fun!)**  \n**parentheses.cpp**\t\t- the same  \n\n**PasSeries.cpp**\t\t- prints out Pascal`s triangular array members, see [wiki](http://en.wikipedia.org/wiki/Pascal%27s_triangle)  \n\n**pointer 0.cpp**  \n**pointer 1.cpp**  \n**pointer 1_1.cpp**  \n**pointer 2.cpp**\t\t- void pointers  \n**pointer 3.cpp**\t\t- pointers on const  \n**pointer 4.cpp**\t\t- constant pointers  \n**pointer 5.cpp**\t\t- pointer arithmetic  \n**pointer 6.cpp**  \n**pointer 7.cpp**\t\t- pointers and references are the same damn thing!  \n\n**polynom.cpp**\t\t- lets solve quadratic equation  \n\n**prime integers.cpp**\t\t- prints out primes  \n\n**rpn.cpp**\t\t- my guess is that the prog parses math expressions  \n**sizeof.cpp**\t\t- as simple as it sounds  \n**sqr comparation.cpp**\t\t- pow function testing  \n**string.cpp**\t\t- some string operations  \n\n**type cast 1.cpp**\t\t- unexplicit type casting  \n**type cast 2.cpp**\t\t- explicit type casting  \n\n**union.cpp**\t\t- shows what is a unit at low-level  \n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpconst%2Fbasic_c_examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpconst%2Fbasic_c_examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpconst%2Fbasic_c_examples/lists"}