And now let’s go to the lowest level – microcontrollers. That’s what drives every electronic device around you. I found this one in my drawer: PIC16F690. You can buy ‘raw’ device or buy experimentation board,[…]
Category: Programming
Arduino
Let’s switch gear and switch to micro controllers. The best way to start is with Arduino. You can buy just the board, or start-up kit like this one. Next step is download and install studio[…]
Python
Python is very similar to Perl so to save myself some time I would do copy/paste/replace… 🙂 Python is scripting language; that means you don’t compile it to executable, like C/C++, nor compile it to[…]
Perl
Perl is scripting language; that means you don’t compile it to executable, like C/C++, nor compile it to binary file which executed by special environment, like Java of .Net Core. Instead you write a script[…]
Ant
If, after reading Java post, someone is curious if it’s possible to use makefile to compile Java applications – the answer would be yes. But there are better ways to do it. One of them[…]
Java, Hello World
Compiling Java sources won’t produce executable which could be run independently. It produces binary code which is executed by Java. So in order to run Java program you need Java to be installed. Just to[…]
makefiles, part II
Like I said with just one file it doesn’t make sense to create a makefile. Let’s create something more complex. Let’s create four files: main.cpp, class1.cpp, class1.h and common.h // common.h #pragma once enum class[…]
makefiles, part I
got tired of remembering all compiler and linker switches? I got a good news for you – you can setup everything once and forget about it. One way is to user some studio and create[…]
Hello, World on C/C++ on Windows, part II
This time we are going to use Windows SDK. We are going to write a program which would accept file name as command line parameter and would print out content of that file. This could[…]
Hello, World on C/C++ on Windows
On to Windows. And we will continue using command line only, no Studio yet. The are two options in my opinion: Cygwin which is Linux stimulations and Build Tools for Visual Studio 2019 (scroll down[…]