I wrote an article a little while back for the May/June 2013 issue of Robot Magazine entitled “Pointers and Data Structures in ROBOTC”. You can now download the PDFs for the individual pages here! I hope you find it useful. [Page 1] [Page 2] [Page 3] You can find the source code for the article here: [LINK].
Read More »Tutorial: Linked Lists in ROBOTC
I really love data structures. That sounded a lot less geeky in my head, but it’s true. It was my favourite subject when studying computer science and I have a few good books on the subject. I don’t pretend to understand the math behind most of them. In any case, when ROBOTC implemented pointers, I started working on a little ...
Read More »Tutorial: Stacks in ROBOTC
Stacks are used a LOT in computing. The CPU in your laptop or PC, your mobile phone and iPad all have one thing in common, they all use stacks, without exception. So what is a stack you ask yourself? Well, think of what a stack of things is in real life: a pile of items that you can only add ...
Read More »