Posts

Showing posts with the label c

Text file statistics in C

Image
This program is a simple demonstration for illustrating how basic text file statistics can be retrieved with only 50 lines of C code. It is more or less a replacement of the standard 'wc' program available in all Unix/Linux distributions for returning the lines, words and characters of any text file given as input. Enable captions for more details and walk-through. Source code available at the Github repository (see channel info). Tags: #asmr #coding #programming #notalking #c-language #gcc #terminal #console

Fibonacci numbers in C (4 different ways)

Image
Fibonacci series in pure C no talking, using only vim and gcc in terminal, implementing four alternative designs: 1) Recursive: using the typical mathematical definition for Fib(n) 2) Iterative: using loop instead of recursion to avoid call stack overflows 3) Dynamic Programming: using buffer for cached results, calculated only once 4) Analytical: using the solution of the differential equation for Fib(n) Each option has its pros and cons, typically trading code simplicity for resources (recursion) or trading memory (cache) for speed. The purpose of this tutorial is to demonstrate coding discipline when working with very limited coding tools (command-line only in terminal) and alternative designs for use in different situations. Inline comments describe details about the code being written. Enable captions for more information on what is happening in each section of the video. Enable captions for more details and walk-through. Source code available at the Github repository (see chann...

Apnea Coding trailer

Image
Welcome to the coding dive. Coding as it is supposed to be. No need to talk, no rush. Take a deep breath, keep it. Empty your mind. Exhale slowly. Relax. Now, let's dive in. Tags: #asmr #ambient #coding #programming #notalking #gcc #fortran #cobol #basic #pascal #msdos #linux #unix #vim #retro #terminal

Channel Updates