I recently had to mass insert a really large text file of strings into MySQL. Here's how I did it.

Member Avatar
Member Avatar
+1 forum 1

This is a program I just recently completed for a computer science course. Given a 2D grid, where every path between two gridpoints has a weight (path length) associated with it, this program computes the shortest path from (1,1) to (m,n). You are only allowed to move up and to the right (so no, it's not Dijstra.)

Member Avatar
Member Avatar
+0 forum 3

This is a program I wrote for my x86 assembly class which is basically the Spade Invaders game in all its glory. It uses Irvine32.inc which came with the textbook.

Member Avatar
Member Avatar
+2 forum 4

I am often asked how to create a tableless two column CSS layout so I thought I would just post it here for once and for all.

Member Avatar
Member Avatar
+2 forum 8

This is a program I wrote for my x86 assembly class which generates matrices, multiplies them, and computes how long the arithmetic took. It uses Irvine32.inc which came with the textbook.

Member Avatar
Member Avatar
+1 forum 3

This is a program I wrote for my x86 assembly class which computes the sum of n numbers. It uses Irvine32.inc which came with the textbook.

Member Avatar
Member Avatar
+0 forum 3

A simple demonstration of how MyInput.class can be used to input data from the keyboard. Computation is then done to compute the interest rate on a mortage.

Member Avatar
Member Avatar
+0 forum 1

[LEFT]This is a program I wrote for my x86 assembly class which revolves a "roulette wheel" around. Wait about a minute and it will eventually slow down to a stop. It uses Irvine32.inc which came with the textbook.[/LEFT]

Member Avatar
Member Avatar
+0 forum 1

This program consists of two functions in one class. It demonstrates a recursive function to calculate the factorial of a number.

Member Avatar
Member Avatar
+0 forum 1

A short example of passing variables between methods (functions).

Member Avatar
Member Avatar
+0 forum 1

This is a program I wrote for my x86 assembly class which bounces an ASCII ball across the screen. It uses Irvine32.inc which came with the textbook.

Member Avatar
+0 forum 0

Two classes which aim to demonstrate private and public members of a class. A static variable is used as an accumulator to keep track of the number of class objects which are created.

Member Avatar
Member Avatar
+0 forum 1

The JOptionPane class is used to give the CompMortgage.java program a front-end GUI interface. The class is divided into numerous functions.

Member Avatar
Member Avatar
+0 forum 1

A single class consisting of multiple methods is used to demonstrate the robustness of keyboard input in Java. A try-catch block is used. The program graphically prints out a square root table by using JTextArea, JScrollPane and JOptionPane.

Member Avatar
Member Avatar
+0 forum 1

A simplistic program to compute the volume of a cylinder when its radius and length are input via MyInput.class

Member Avatar
+0 forum 0

An example of method overloading. The program calls a function to get the square root of a number. The appropriate function (integer or double version) is executed.

Member Avatar
+2 forum 0

A program similar to ComputeMortgage.java utilizing a mathematical formula and multiple methods to calculate a loan payment.

Member Avatar
+1 forum 0

A demonstration of introductory object oriented programming. A class to define a circle object with radius, area, and perimeter parameters.

Member Avatar
+0 forum 0

This program consists of two functions in one class. It is the driver program for the CircleClass.java file.

Member Avatar
+0 forum 0

A program similar to CircleClass.java which defines a rectangle object. ClientProgram.java is the driver program for the Rectangle.java file.

Member Avatar
+0 forum 0

A program combining a switch statement with static variables in a class. Based on the switch statement, a class object is dynamically created.

Member Avatar
+0 forum 0

The End.