Monthly Archives: October 2009

IndiaBix.com

IndiaBix is your one stop resource for solved questions in C, general aptitude and anything that has to do with interviews and the likes. I discovered this site while random surfing and found it to be very useful. I’d highly … Continue reading

Posted in Websites | 2 Comments

Binary Triangle in Java

I’ve come across a number of C/C++/Java forums across the Internet, where people ask for code to print Binary Triangles. This triangle actually looks a lot like the Pascal’s triangle. I’ve written a code snippet in Java. Have fun. ­čÖé … Continue reading

Posted in Code | 2 Comments

Java Code to Display Contents of PATH Variable

Here’s the Java code to display the contents of the PATH variable. The PATH variable is usually set for certain programs and applications, so that you can access those applications from any directory. Hope this code will be of use … Continue reading

Posted in Code | Leave a comment

LiteratePrograms

This is a wonderful site I stumbled upon that lists a lot of code, which is collaboratively debugged and hosted. More of like, Wikipedia.┬áLiteratePrograms is a host to algorithm implementations, sample code and anything that has to do with programming. … Continue reading

Posted in Websites | Leave a comment

Comparing two Images in Java

Ever wanted to compare two images, but couldn’t get any code? Well, you’re at the right place. Here’s a code in Java to compare two images. The concept used here is an in-built method called PixelGrabber. Pixel values of the … Continue reading

Posted in Code | 2 Comments

Progress Bar in Java

The other day, I was searching for Progress Bars to be used in Swing applications. Search for a suitable Java code was not fruitful. One code displayed the progress bar, but not the percentage of the process completed. Here’s a … Continue reading

Posted in Code | Leave a comment