Your Computer Science Resource

Archive for the ‘Projects’ Category

Jul
31st

PROJECT: TrayTweet v.2.0

Just updated my previous TrayTweet project to version 2.0. All those interested please click here for more information.

Jul
9th

PROJECT: TrayTweet

I recently published a free Twitter system tray client called TrayTweet. While the code is not open source, I will post some of the highlights.

(more…)

Jan
9th

PROJECT: Screen Capture Utility

Using my previous posts on how to take a screenshot and how to save an image to disk, I’ve created a Screen Capture Utility extending these basic ideas to create a program that would automate the process of taking multiple screenshots over a period of time. Full source code is available for download here.

(more…)

Jan
4th

PROJECT: Long Integer ADT

Data types in Java and C++ (amongst other languages) are limited to a specified range. Even in most basic calculators, performing an operation with 9 or more digits will result in an error. Sometimes, though, you have to perform very large calculations. Wouldn’t it be nice if there were an ADT that can perform arbitrary calculations, and “grow” depending on the size of the number? Of course, Java has a class library that will do this for you (BigInt), and there is almost certainly one available in C++, as well. But what if you had to develop your own? Of course, this would mean you’d have to re-implement basic mathematical operations — which may turn out to be not so “basic” at all. In this project, I’ve developed a “Long Integer ADT” in C++. Because the code for this project is somewhat extensive, I will only post the header files and smaller source files. The full source code can be downloaded here.

(more…)

Dec
27th

PROJECT: Huffman Coding

In the field of computer science, data compression is an extremely important tool used in many different types of applications. One way to compress data is to convert the data to binary code, using a shorter code for more frequently used values and a longer code for less frequently used values. Doing so allows you to save larger values in a much smaller space, thus saving you space overall. This is essentially how Huffman Coding works, and how I have implemented data compression in this application. To download the complete source to this project in C++, click here.

(more…)

Apr
18th

PROJECT: LSD Radix Sort

I was recently given the task to implement an LSD Radix Sort algorithm to sort a set of strings (a list of names, specifically). Being that there aren’t many examples of this online, I’ve decided to share this. Admittedly, this took me some time to figure out, but looking back, it’s really not too difficult. You may download the complete source to run yourself by clicking here.

(more…)

Mar
20th

PROJECT: Binary Search Tree

If you’re a CS student, it’s only a matter of time before you have to write a program implementing a Binary Search Tree. Below, I will go through how I would do it, but what makes this version different from most other examples on the Internet is that this one loads a configuration file (list of commands) and gives a specific output according to the instructions for my class at the time. Because the code to this assignment is pretty lengthy, I’ve made the source code available for download (MyBinarySearchTree.zip).

(more…)