{"id":14976837,"url":"https://github.com/gamestrap/learncpp","last_synced_at":"2025-10-27T21:31:39.195Z","repository":{"id":119265159,"uuid":"143551049","full_name":"GamesTrap/LearnCPP","owner":"GamesTrap","description":"A collection of simple programs I made while learning C++.","archived":false,"fork":false,"pushed_at":"2018-12-26T00:34:04.000Z","size":407,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T08:41:46.467Z","etag":null,"topics":["c-plus-plus","cmake","cmakelists","cpp","cpp11","cpp17","learn","learn-to-code","learning","learning-by-doing","linux","unix","windows","windows-10","windows-7","windows10"],"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/GamesTrap.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":"2018-08-04T18:00:27.000Z","updated_at":"2024-11-09T17:29:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"f1f0c92a-46e8-4d78-9a60-3109a715b472","html_url":"https://github.com/GamesTrap/LearnCPP","commit_stats":{"total_commits":153,"total_committers":1,"mean_commits":153.0,"dds":0.0,"last_synced_commit":"710b24876f61e1033aaa0502fc4508250de717c3"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GamesTrap%2FLearnCPP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GamesTrap%2FLearnCPP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GamesTrap%2FLearnCPP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GamesTrap%2FLearnCPP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GamesTrap","download_url":"https://codeload.github.com/GamesTrap/LearnCPP/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238561247,"owners_count":19492676,"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-plus-plus","cmake","cmakelists","cpp","cpp11","cpp17","learn","learn-to-code","learning","learning-by-doing","linux","unix","windows","windows-10","windows-7","windows10"],"created_at":"2024-09-24T13:54:31.863Z","updated_at":"2025-10-27T21:31:33.773Z","avatar_url":"https://github.com/GamesTrap.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Learn C++\n\nA collection of simple programs I made to learn C++.  \nStatus: [![Build Status](https://travis-ci.com/GamesTrap/LearnCPP.svg?branch=master)](https://travis-ci.com/GamesTrap/LearnCPP)\n\n## Programs\n\n- SumCalculator\n\t- Calculates the sum of two integers\n- IntegerLimits\n\t- Displays integer limits\n- CIntegerLimits\n\t- Displays integer limits based on C language\n- Overflow\n\t- Produces an overflow\n- FloatLimits\n\t- Displays float limits\n- Accuracies\n\t- Displays accuracies of floating point numbers\n- Inaccuracy\n\t- Displays inaccuracy with float Arithmetic\n- MathExpressions\n\t- Calculates mathematical expressions\n- IsCharSigned\n\t- Displays if char is signed or unsigned\n- Scopes\n\t- Displays scopes of variables\n- RomNum\n\t- Converts Roman numeral(s) to int(s)\n- GDC\n\t- Displays GCD of two numbers\n- Prime\n\t- Calculates a prime number that follows a given number\n- FacCalculator\n\t- Calculates the faculty of a number \u003e= 0\n- Menu\n\t- Displays a Menu made with break and continue\n- Enum\n\t- Program using enum(s)\n- Struct\n\t- Program using struct(s)\n- Vector\n\t- Program using vector(s)\n- DynamicVector\n\t- Program using vector(s) dynamically\n- StringOperations\n\t- Program with typical string operations\n- Auto\n\t- Program using auto(s)\n- StructBinding\n\t- ...\n- Union\n\t- Program using Union(s)\n- BitField\n\t- Program using BitField(s)\n- Input\n\t- Displays user input\n- FileIO\n\t- Creates a file and reads it\n- FileCopy\n\t- Reads a file and saves it with a different name\n- BoolAlpha\n\t- Displays if a char is captial or not\n- ANSIESC\n\t- Program using the ANSI ESC sequence\n- Hex2float\n\t- Outputs a float from a hexadecimal number\n- IfInitialization\n\t- ...\n- IntTypes\n\t- ...\n- ForEachLoops\n\t- Outputs a string and a vector with different foreach loops\n- FacCalculator2\n\t- Calculates the faculty of a number \u003e= 0 with functions\n- Scopes2\n\t- Displays scopes of variables\n- Static\n\t- Program using a static variable\n- ByValue\n\t- Program using Parameter transfer by value\n- DigitSumCalculatorWithRecursion\n\t- Calculates digit sum of a number with recursion\n- TowersOfHanoiWithRecursion\n\t- Program to solve towers of hanoi with recursion\n- ByReference\n\t- Program using Parameter transfer by reference\n- Price\n\t- Outputs price(with predefined parameters)\n- FunctionOverloading\n\t- Program using function overloading\n- Macros\n\t- Program using macros\n- GCCVersion\n\t- Checks if you are using GNU C ++ Compiler and outputs its version\n- HasInclude\n\t- Program using __has_include macro\n- Macros2\n\t- Program using macros\n- Namespaces\n\t- Program using namespaces\n- Constexpr\n\t- Program using const(expr)\n- Constexprauto\n\t- Program using const(expr) and auto\n- BiggestValueWithTemplates\n\t- Outputs the biggest values of a vector using function templates\n- BiggestValueWithSpecialisedTemplates\n\t- Outputs the biggest values of a vector using specialised function templates\n- Smaller\n\t- Program using different functions and templates\n- Place\n\t- Program using class\n- PlaceWithCopyconstructor\n\t- Program using class and copy constructor\n- SequenceConstructor\n\t- ...\n- constexprConstructorAndMethods\n\t- Program using constexpr constructor and methods\n- Rational\n\t- ...\n- Destructor\n\t- Program using destructor\n- PersonnelAdministration\n\t- A simple personnel administration program\n- IterateCArray\n\t- ...\n- CStrArray\n\t- Program using CStringArray\n- MainParameters\n\t- Program using console/terminal parameters\n- This\n\t- Program using this pointer\n- 2DMatrix\n\t- Program using 2D array\n- OutputTable\n\t- Program using templates and multi dimensional arrays\n- 2DArray\n\t- ...\n- WriteBinaryFile\n\t- Writes 20 double values to a file with binary format\n- ReadBinaryFile\n\t- Reads file with binary format\n- WriteBinaryFile2\n\t- Writes an array matrix to a file with binary format\n- FunctionPointer\n\t- ...\n- QSort\n\t- ...\n- Typedef\n\t- Program using typedef\n- UniquePointer\n\t- Program using unique_ptr\n- String\n\t- ...\n- StringView\n\t- ...\n- NumObj\n\t- ...\n- ClassWithConstants\n\t- Program using Constants inside a class\n- SimulateStack\n\t- Program simulating stack\n- Inheritance\n\t- OOP\n- InheritConstructor\n\t- Program demonstrating how to inherit a constructor\n- AbstractInheritance\n\t- Abstract OOP\n- VirtualDestructor\n\t- Program using virtual destructor\n- PrivateVirtualFunctions\n\t- ...\n- VirtualBaseClass\n\t- Program using virtual base class initialization\n- Cast\n\t- Program using static_cast and dynamic_cast\n- TypeID\n\t- Program using typeid\n- PrivateInheritance\n\t- Program using private inheritance\n- Exstream\n\t- ...\n- LogicError\n\t- ...\n- Division0\n\t- ...\n- NewHandler\n\t- Program using my own new_handler\n- OperatorOverloading\n\t- ...\n- SimulateVector\n\t- Simulates a vector class\n- MathVector\n\t- ...\n- SmartPointer\n\t- Program using DIY SmartPointer class\n- FunctionObject\n\t- Example program for function objects\n- NewOverloading\n\t- Program using DIY overloaded new operator\n- CountMemoryManagement\n\t- ...\n- GuardMemoryManagement\n\t- ...\n- MemoryManagement\n\t- Example of a memory management\n- Matrix\n\t- ...\n- AssignmentComparisonInheritance\n\t- ...\n- RWSameFile\n\t- Reads \u0026 Writes in the same file\n- NumToString\n\t- Converts a number to a string using stringstreams\n- Table\n\t- Outputs a formatted table\n- RWVector\n\t- Reads \u0026 Writes a vector\n- RWArray\n\t- Reads \u0026 Writes an array\n- RWVectorMatrix\n\t- Reads \u0026 Writes a multi dimensional vector\n- WithoutSTL\n\t- Program using own STL functions\n- WithoutSTLTemplate\n\t- Program using own STL template functions\n- WithVector\n\t- ...\n- List\n\t- Implementation of a list(like std::list, but incomplete)\n- Performance\n\t- ...\n- LambdaSort\n\t- Sorts a vector using lambdas\n- LambdaFunction\n\t- Program using a lambda as a function\n- Squared\n\t- Program using a recursive template to output the square of n\n- PrimeNumber\n\t- Program using a recursive template to output all prime numbers from 0 to n\n- PrintVariadic\n\t- Program using a variadic template to output n amount of types passed to the template\n- PrintVariadicInt\n\t- Program using a variadic template with parameter expansion\n- RegexTester\n\t- ...\n- Chrono\n\t- ...\n- Thread\n\t- ...\n- ThreadGroup\n\t- Program using multiple threads with a ThreadGroup object\n- Worker\n\t- ...\n- ProducerConsumerProblem\n\t- Program showing how to solve the Producer -\u003e Consumer problem in threading\n- ReadWriteThread\n\t- ...\n- AtomicVSNonAtomic\n\t- Program showing the difference of using a normal variable vs atomic variable with 100 threads","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgamestrap%2Flearncpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgamestrap%2Flearncpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgamestrap%2Flearncpp/lists"}