Saturday, June 29, 2013

HumanAddition - Addition calculator using human method


==[Update 1]==
Performance Improvements
 - Same test as before now takes less than 1 second (~ 700ms)
 - Changed the logic up a little to remedy the "different number lengths taking longer" issue, now if
   you add a large number with a small one it will be faster than adding 2 same size numbers.
Non-Number Checks
 - Removes all characters that are not valid digits
Progress Bar/Report
 - Progress loading bar and percentage, but it bugs out on very high numbers like one with 50,000,000 digits

== Download ==
http://www.mediafire.com/download/yz7rjcx3b6k6bmp/HumanAddition.exe

== Code ==
This probably isn't perfect, anyone wanting to make changes are free to, and submit them if you want in to comments.
==Log=
Welp I made another possibly useless simple program lol. This program is a single function calculator in that it only does addition. The purpose of this calculator though is adding two large numbers and presenting every digit. It does this by utilizing how we were taught addition in school, add two numbers starting from the right, if there is a carry, add in the carry. This calculator can be considered slow, any number ~200,000 digits long from what I've seen is practical, larger numbers will obviously be slower, it also depends on what the number is. For 2 random numbers I made both with exactly 200,000 digits, it took 134,369 milliseconds, or 134.369 seconds or, 2.240 minutes.

There is also a bottleneck or bug (what ever you want to called it) somewhere, when adding a large number with one of less digits or vice-verse, it takes longer then adding 2 large numbers of the same number of digits, I might fix it sometime later.

Comments would be nice, If you haven't noticed I am bored and making small programs lol.

Thursday, June 27, 2013

FlipsHorizontal

Here is a simple program I made for a friend it's very simple and actually is my first actual program that I will be showing source for (Below) but only because its so simple that I don't think I made an mistakes anywhere :P .

This program simply flips images on the horizontal axis. The resulting output is in PNG format so keep that in mind though you can change that if you want using the source provided.

== Features ==
Flips images on horizontal axis
Converts to PNG format

== Download ==
http://www.mediafire.com/download/2u84oerqc2aooa8/FlipsHorizontal.zip

== Source ==


Comments would be great, haven't been really active with school being in the way lately.