JGJonah Goldsmithinjonahmgoldsmith.hashnode.dev·Jan 13, 2023 · 4 min readSimple Dynamic Array in CVectors/Dynamic Arrays are one of the most important data structures used in almost all programs. In C there is no notion of a dynamic array so the programmer must create their own. There are many ways to do this but my favorite way is Sean Barret's ...00
JGJonah Goldsmithinjonahmgoldsmith.hashnode.dev·Jan 12, 2023 · 2 min readDon't Be Scared of Ternary OperatorsSometimes when looking through a C/C++ codebase you may see these weird symbols littered through code that you do not understand. For example: z = (x < y) ? 10 : 0; When I first started coding these operations scared me because I had no idea wha...00
JGJonah Goldsmithinjonahmgoldsmith.hashnode.dev·Jan 11, 2023 · 7 min readTemporary Allocations in C/C++Memory management is a very important part of programming in low-level languages. But you don't always need memory to last forever. Sometimes you might need memory only for a short amount of time, maybe to format a string or to load temporary data in...00
JGJonah Goldsmithinjonahmgoldsmith.hashnode.dev·Jan 9, 2023 · 3 min readProject Design in C/C++Design What do I mean by project design? What I mean is the rules that you follow while developing your projects. This could be syntax rules, header include rules, directory structure rules, and anything else that you want to keep consistent while de...00
JGJonah Goldsmithinjonahmgoldsmith.hashnode.dev·Oct 28, 2022 · 3 min readA Beginner Dive into CMakeIf you are a C/C++ developer you already know that the ecosystem has a few problems compared to higher-level languages. The biggest one is the lack of a concrete build system. Languages like Rust and Java have native build systems that take care of c...01D