Pages

Categories

C++ Obfuscated code

C++ Obfuscated code Published on 11 March, 2014 while on IRC, some one linked this piece of C++ code: Selec All Code: 1 int main()<%<:]{%>();%> It’s a perfectly valid piece of code too! It compiles, and as expected has no output. But how does it work? It was puzzling...

Queue

Queue Published on 10 March, 2014 The queue data structure is a first in, first out type that has two core operations, enqueue, and dequeue. The queue needs to keep track of two pieces of data, the head of the queue, and the tail of the queue. The head...

Hash Table

Hash Table Published on 10 March, 2014 A hash table is a data structure that stores two components in each element, the key, and the value. They can also be referred to as hash maps, dictionaries, or associative arrays. The primary benefit of a hash table is the lookup...

Binary tree

Binary Tree Published on 10 March, 2014 A binary tree is a recursive data structure where data is stored in a node that has a value, and two pointers going left and right which go to another node. They have a similar visual representation of a tree, starting from...

Stack

Stack Published on 10 March, 2014 The stack data structure is a last in first out (LIFO) type that has two core operations, push, and pop. Only access to the top of the stack is available and there is no way to randomly access/modify an element in the middle...

Representing Negative Numbers in Binary

Representing Negative Numbers in Binary Published on 12 December, 2013 Binary is the fundamental number system used on computers, as it provides a way to denote if some thing is “on”, or “off”. Binary can also be referred to as the base two number system, where we humans commonly...

Android Development

Android Development Published on 5 February, 2012 I recently got an ASUS Slider android tablet, it’s essentially a 10.1inch touch screen tablet with a slide out keyboard. This morning I gave a shot at making a small application for it. Setting up the development software was very time consuming,...

C++

C++ Published on 19 October, 2011 Well I’ve started college and we’re learning C++. So recently I’ve been playing around creating many toy applications to get to grip with the language. What I particularly enjoy about the language is that it’s so easy to compile code for on the...

C# Dev Blog

2011 05.25 C# Dev Blog Category: Uncategorized / Tags: no tag / Add Comment Well I haven’t updated in a while, but that doesn’t mean I haven’t been unproductive. Instead of jumping back into the game with a new design, I went back to reading C# 4.0 Pocket Reference,...