Programming

Debugging in C

Table of Contents Types of Errors Debugging Techniques Examples With great power comes great responsibility. -Ben Parker C is a powerful language, but it is also considered unsafe. Mistakes stemming from pointer arithmetic, memory allocation, and other low-level operations can lead to segmentation faults, memory leaks, and other undefined behavior. This is one of the reasons why advocates are pushing for the use of safer languages like Rust. These notes will cover some of the tools and techniques that can be used to debug C programs, from simple printf statements to more advanced tools like gdb.

Introduction to Git

Table of Contents What is Version Control? What is Git? What is a Repository? Configuring Git Creating a Repository Staging Files Committing Changes Ignoring Files Branching Merging Remotes Cloning an Existing Repository Summary What is Version Control? Version control is a system that records changes to a file or set of files over time so that you can recall specific versions later. This is useful not just for team projects, for for individual projects as well.