File Handling

File Handling In C Requirements: Linux Distribution C Compiler a shell interface My Setup: Debian GNU/Linux GCC BASH Today we will go over the concept of file handling. Files are essential for persistent storage. So inside of the standard input / output header file (stdio.h), we have multiple functions for handling files. The FILE data […]

assert.h

Using assert.h Requirements: Linux Distribution C Compiler a shell interface My Setup: Debian GNU/Linux GCC BASH Today, i will be going over an extremely useful standard library header called assert.h . Assert.h is a header file which defines one specific function: The assert macro puts diagnostic tests into programs. It expands to a void expression […]

Programming Idioms Part 1.

C++ Programming Idioms Part 1. Requirements: Linux Distribution g++ any text editor My Setup: Debian 10 g++ version 6.3.0 pluma Today i will be going over some basic programming idioms that are generally used by C++ developers. These are acronyms to phrases that describe concepts the C++ language feature. 1. Resource Aquisition Is Initialization (RAII) […]

The String Header File

The string.h header Requirements: Linux Distribution C Compiler a shell interface My Setup: Debian GNU/Linux GCC BASH We havent really touched much on the standard header files, so I will go through some of them one by one. Today we will start off with the string.h header file. The header file declares one type, which […]