This is something I had been meaning to create for ages, a lot of preparation, but I finally managed to create it: Description: Compiling more than one Java file and assembling into a run-able Jar can be time consuming and repetitive when you use the command line. In this screen cast I demonstrate and compare […]
Category archives: Raspberry Pi
Using C and C++ in the same program
Just to demonstrate how C and C++ are related and can be combined, here is a screen-cast on a Raspberry Pi:
A mini Thymeleaf web server
I decided to see if I could get Thymeleaf to work on a Raspberry Pi using a non-servlet based web server. Here is the result!
The difference between loops and recursion in Java, C and C++ on a Raspberry Pi
To get the ball rolling with my programming series on the Raspberry Pi, I decided to create a screen cast on ‘recursion verses loops’. In addition I thought that it would be a good idea to compare the different execution time when implemented on Java and C. I then thought it would be a good […]
Using C Unions on a Raspberry Pi
Whilst revisiting the use of ‘C’ I remembered about ‘unions’ and how they can be used to view data in memory in different ways. And here is the code: #include <stdio.h> union { unsigned int i; unsigned char c; } aunion; int main() { aunion.i = 42; printf(“The answers are %d and %c\nWhy is that?\n”, […]
A simple C program on a Raspberry Pi
I wanted to see how fast a ‘C’ program was compared to Java, so created a really simple program to find out.
A first simple Java program on a Raspberry Pi
A really simple Java program on the Raspberry Pi showing how to create, compile and run.
Installing Jed on the Raspberry Pi
As I wanted an easy to use editor for the programming on the Raspberry Pi I hunted around and found ‘Jed’. So here is a screen cast that shows you how to install it.
Installing Java 7 on a Raspberry Pi
This is the first screen cast for my Raspberry Pi series, this one shows you how to install Java 7.