Learning the C Programming Language as a Classical Musician [17]

Episode 17 — Types (Part 9: Practical Examples) Welcome back! Today we are looking at yet another derived type, similar to struct but with a crucial difference: the way it handles storage. Let’s get started with unions. Union types In the previous episode, we looked at how each member of a struct would be storedContinue reading “Learning the C Programming Language as a Classical Musician [17]”

Learning the C Programming Language as a Classical Musician

Episode 16 — Types (Part 8: Practical Examples) Welcome back! Finally, after a much longer hiatus I could have ever forecasted, I am finally able to get back to learning, and to writing, sharing all these things with you. Today we are continuing our journey through derived types which, after last lesson’s arrays, await usContinue reading “Learning the C Programming Language as a Classical Musician”

Learning the C Programming Language as a Classical Musician

Bonus Episode (after Ep. 15) — Recap of what we have learned so far Welcome back! More than one month has passed since my last episode. I have been unable to study, practice, and write anything concerning programming due to impending assignments in my music notation work. If you follow this blog you will haveContinue reading “Learning the C Programming Language as a Classical Musician”

Learning the C Programming Language as a Classical Musician [15]

Episode 15 — Types (Part 7: Practical Examples) Welcome back! Our journey into C types enters its final stage: after basic types and enumerated types, it is now the turn of derived types. This category contains arrays, structures, unions, functions, pointers, and atomic types. We have just scratched the surface of most of them inContinue reading “Learning the C Programming Language as a Classical Musician [15]”

Learning the C Programming Language as a Classical Musician [14]

Episode 14 — Types (Part 6: Practical Examples) Welcome back! In the last episode, we studied floating-point numbers and how they can be used in C, with particular interest into how the compiler stores their precision. Much has evolved since the introduction of the C Programming Language in the 1970s in the way computers work,Continue reading “Learning the C Programming Language as a Classical Musician [14]”