Home | Journal page

Programming challange

23rd July 2022

Today I have started a programming challenge, to create a one small functional program everyday, in any language, to learn programming.
Today I have tried to program a pythagoras hypotenuse side calculator in C++ and managed to program it correctly on my second try, the first try failed because I forgot to declare two variables. But in the end it works nicely. I would like to try to make a bit more advanced pythagoras calculator program someday later..
Yesterday I have gotten a i2c bus module for my electronics hobby! This will be useful for me for various things, such as connecting an LCD display with just four wires. I will try to do more electronics from now and learn how to do some cool stuff.