Archive for the ‘Languages’ Category

« Previous Entries

Free Java Maze Game: MayZ... - 6

ali • 04 February 2009 • Data Structure, Fun, Java, Laboratory

The famous maze game is the game that most people know it. That’s a complex puzzle that a passenger has to find a way from a beginning door through an exit. In this post, I introduce you my first Java application, a simple 2D maze game, which I’ve made it for the Data Structure course [...]

Free Huffman Compressor... - 0

ali • 28 January 2009 • Algorithms, C++, Laboratory

Certainly you have used some compressing tools before, such as WinRAR, WinZip or even the Windows compressor. There are many free algorithms that can do such compression. Also there are many other algorithms that perform more compression faster but they’re not free! Huffman is an entropy encoding algorithm used for lossless data compression. The term [...]

Free CRC-8 Checksum Calcula... - 2

ali • 22 January 2009 • Algorithms, Assembly, Laboratory

CRC calculation is a popular way for detecting accidental errors occurred to a message. These errors usually may occur during data transmissions over a network or while writing to a storage device or anywhere that datum is moved. I recently have coded a few lines in order to create a tiny program for CRC calculation. [...]

Infix to Postfix Convertor... - 0

ali • 05 January 2009 • Algorithms, Assembly, Laboratory

INFiX to POSTFiX Conversion Tool v0.1 This is a handy tool written in assembly. This tiny program inputs an infix expression and outputs its postfix version. I have already mentioned this program in my previous posts but now I put both its binary and source code for free under the GNU GP License. This is [...]

Awesome Billy... - 0

ali • 13 November 2008 • Assembly, Fun

Programming is a great experience everyone can experience! Everyday the languages are getting more abstracted and easier to learn and use, while many ones (like me) would like to program in lowest possible level yet. Writing a code which directly speaks with hardware without any inter-face is very exciting and enjoyable. A couple of ideas [...]

Restrictions on Operator Ov... - 0

ali • 15 August 2008 • C#, Programming

It is not possible to overload the = assignment operator. However, when you overload a binary operator, its compound assignment equivalent is implicitly overloaded. For example, if you overload the + operator, the += operator is implicitly overloaded in that the user-defined operator+ method will be called. The [] operators can’t be overloaded. However, user-defined [...]

Java String Equality (Commo... - 0

ali • 18 June 2008 • Java

A very common mistake that lots of Java programmers will make is to use “==” to compare strings, rather than “.equals”. That’s what I keep reminding myself all the time and I never use “==” to do any string compare. Just today, when I was testing a Java program, I noticed that the programmer used [...]