Spring 2008

C++ Topics

hello is a sequence of programs introducing topics in defining C++ classes.

vec2 is a class that captures the mathemetical properties of a 2D geometrical point or vector.

MFC Topics

small1 is a simple MFC example, no Document/View architecture, no special features, just a frame window (MainFrm.cpp) enclosing a client window (ChildView.cpp). Its behavior is to find the size of the client window and format a text string that is displayed centered in the client window.

small2 is a small MFC application modified to test the display generated by point2, a class that captures the display or graphics properties of a 2D geometrical point.

small3 modifies the small MFC application framework to support animation and move the origin to the center of the screen.

Qt Topics

Qt1, simple Qt example
Qt2, Qt application with custom window

18 February 2008

The console-application code in line2 is a C++ expression of a 2D line segment, consisting of a test program and the line2 class.

The code in testbed1 is a MFC application for developing procedures for drawing electronic symbols. Symbols for resistors, inductors, capacitors, current sources, and impedance are illustrated.

The C++ console-application in netlist3 develops a class circuit that captures the structure of an electonic circuit as a netlist, or connected set of circuit elements (devices) such as resistors, capacitors, inductors, voltage and current sources, and so forth. This version includes only resistors and current sources. Circuit elements are sub-classes of the abstract class device.

20 February 2008

HTML Forms with Python CGI scripts.

The C++ console application netlist2 tests some parsing functions for a netlist.

The Matrix class is a matrix data structure and routines for matrix manuipulation. The class Vec is a simple column (or row) vector. There is also a linear-equation solver using LU-decomposition. (See ludcmp.cpp)

complex is a class for complex numbers.

25 February 2008

Overview of the C++ Standard Template Library (STL)

tag is my version of double-linked lists, written before STL.

tlist shows an example of the STL list container. It does basically the same things as the tag test example.

27 February 2008

playground fields: proposed Web database table fields for playground interactive distributed program project.

3 March 2008

colorchooser Python CGI form script

playground scripts

10 March 2008

sending email from python script

intersection of rectangles

24 March 2008

submitfile.py is a Python CGI script allowing users to submit files to a central server.

netlist2 (Java version)

netlist3 (Java version)

gates1 (Java version)

Matrix (Java version)

26 March 2008

Drag Demo

JTextArea demo.

TextDemo, sending an output stream to a JTextArea

gates1 (as an applet/windows application)

31 March 2008

JPopupMenu

2 April 2008

cursors
netlist4, Java version of program that implements nodal analysis of basic electrical circuits (resistor, capacitors, inductors, and independent current and voltage sources).

7 April 2008

collide1 demo, Java programs
collide2 demo, Java program
Visual Python examples for the ball bounce problem.
gameboard.py is a CGI script that manages an interactive game prototype
GameBoard.java is a client program that displays player positions as obtained periodically from the web server.

9 April 2008

OOP Principles

21 April 2008

Unchecked Method Invocation warning message
final-game demo


Maintained by John Loomis, last updated 2 February 2018