Jon Wong - Pushing buttons and all that jazz

Marshmellows, nougat, and oreos?

I've begun the foray into the world of Android application development. It is a development enviroment that is an interesting mix of XML and Java. My initial start was fraught with frustration trying to visualize the blend to create an app. However Udacity does an excellent job of teaching.

Developing the first few "Hello World" apps was satisfying, however once you learn to create interaction and process user interaction to create an automated response, that is when it gets really fun.

The apps I have created so far can take user input through form items and produce some form of output. Next I will move into the world of pure java.

Do you C?

I am currently in the process of learning C because I've always wanted to know a little more about the way PCs work, how code closer to the metal works, and plain curiosity. This portion of the site will serve as my exploration into C. Below are some useful links that I am exploring.

My journey begins here with LEARN TO CODE WITH C – FREE RASPBERRY PI BOOK. A raspberry pi is not required. You could easily go through the book with a text editor and a C compiler, which is how I am doing it. I am using a Pi Zero in OTG setup because I like dedicated hardware. However Virtual Box with any variant of Linux running in a virtual machine would work. Below I've linked some compilers to compile your C code.

The book

So far, LEARN TO CODE WITH C – FREE RASPBERRY PI BOOK has been a relatively easy read. The concepts are introduced at a seeming shallow learning curve, going through you garden variety data structures, logic control, and data flow. However for the uninitiated, pointers might take some additional pondering.

I'll post my code later as well as a few bash scripts I use to make compiling faster and easier. After all, typing out "gcc -o file file.c" then having to type "./file" to run it, can be a bit tedious, especially when debugging.

As promised I have completed the book and here is my completed code and some miscellanious notes. I was using gcc in a linux enviroment so the file is for compiling in that enviroment.

cksum: 3547599228
4796 bytes (5K)

To compile with the file use the following syntax:

./ file1.c file2.c

Since the book limited it to two input files, more can be added by moidifying the script.

Here is where my next set of C lessons begin: