Thanks for your input. I did write this all by hand, using gedit as my editor. I did not write this for any class, as I am not in any programming-related class. I simply wrote this for the benefit of me writing my own program to convert a selection of variable types into a specified bit-length of binary code.
thanks, wade > Date: Sun, 30 May 2010 12:04:21 -0400 > From: [email protected] > To: [email protected] > Subject: Re: [fwlug] (Java) Binary Code Generator > > Not having written anything to play with it, I'm fairly impressed. > > Assuming you wrote this all by hand, I'd guess from it's succinctness > that you've probably heavily debugged and optimized. > > The math to convert integers into binary is a complex enough little > loop to come up with, but what I really like is how you've overloaded > toBinary to accept so many different argument. > > It's quite a bit of work up front, but that should save any > applications you build using this class from having to do that work, > and makes it flexible enough to be useful in a lot of different > situations. > > I take it you're aiming at, or have already scored, a 5 on the AP exam? :-) > > Simón > > On Fri, May 28, 2010 at 10:42 PM, Wade Crick <[email protected]> wrote: > > Well, this past Thursday, I stayed after school with Mr. Dailey (most of you > > probably know him as Ben). He taught me how binary code is generated with IP > > addresses and how it takes ASCII codes for other characters. It's a fully > > loaded class that can generate a specific number of bits, and can translate > > numbers, Strings, and characters. > > > > http://pastie.org/private/an5mlezb7px6c66sdgltcq > > > > Please send me what your opinions are. > > > > note: I purposely didn't use the java.util.ArrayList class because I wanted > > to not import any other classes rather than the java.lang classes. > > > > _______________________________________________ > > Fwlug mailing list > > [email protected] > > http://fortwaynelug.org/mailman/listinfo/fwlug_fortwaynelug.org > > > > > > _______________________________________________ > Fwlug mailing list > [email protected] > http://fortwaynelug.org/mailman/listinfo/fwlug_fortwaynelug.org
_______________________________________________ Fwlug mailing list [email protected] http://fortwaynelug.org/mailman/listinfo/fwlug_fortwaynelug.org
