Strict Types in C99
not really possible,
but use speaking types e.g. typedef uint8_t bool_t;
not really possible,
but use speaking types e.g. typedef uint8_t bool_t;
post topics:
Continue reading →
does not really exist in c
what to inject?
Continue reading →
ideas:
Continue reading →
I am learning how to write a proper Makefile
using
https://makefiletutorial.com/#getting-started. And I am just writing down the things that jump at me, not complete neither a tutorial, just a look-up post or cheatsheet for me.
Continue reading →
extern
keyword
I just had the error src/main.c:46: multiple definition of '_led'
again. I figured the extern
keyword is coming for my rescue.
Continue reading →
I had not yet heard of a type (not sure if it's a type?) in C called bit-fields, or at least I can't remember anymore. Let's look at one:
Continue reading →
C# has a way better expression for what we write in JavaScript like so
obj.method && obj.method()
and in C# you can do obj?.method()
which is pretty slick I think. See this video (in german) for a short explaination.
Continue reading →