Divaddition

Due to some circumstances I was sitting around with some time on my hands, so I wrote this little program based on a challenge posted in the code golf section of stack http://pastebin.com/cTQsvaHk #include <stdio.h> static int addCounter; int add(int a, int b) { ++addCounter; return a + b; } int divide(int dividend, int divisor) […]

Advertisement

A quick and simple example(high score board)

The topic came up in Skype today, and I didn’t really finish the high scoreboard in a game I was working on recently, so I’ve finnished up and pulled together a few little code segments into a fairly vanilla script for Unity. So first off, if you didn’t know already, Unity lets you store and […]