A bit of C code I russelled up to roll a specific die based off the arguments passed to it through the command line. It’s basically just a random number generator with addition properties. /* * dice.c * * Created on: Apr 20, 2009 * Author: Mike Sherwood <coolhand2 @gmail.com> */ #include <stdio .h> #include [...]
READ MORE »Posts in category Code
I think too much
I normally don’t think about hacking things too often, but a prior event that happened sometime last year got me slowly thinking about this. My brain finally got around to it while I was sitting in the cafeteria at CNM waiting for my first of two classes that day to come around.
READ MORE »C++ Pig Latinizer
After getting immensly pissed at the g++ compiler that I have, I realized I was going about doing things by hand the wrong way. I then took a page out of the php version’s book, and went smaller…
READ MORE »Pig Latin Parser
I wrote this one a while ago. It’s your basic Pig Latin Parser. Comments should explain everything.
READ MORE »