|
Description
This page contains many example C++, Java, PHP, SQL, and Alice code.
There is also a section called Assignments which contains code that
I use in some assignments. You can probably safely ignore that section
unless you are specifically directed there in an assignment.
For some programs, there is a description file available.
The point of these examples are to assist you in learning how to
do various things in these languages, ranging from implementing
constructors, destructors, overloading operators, and working with pointer
in C++, to basic syntax, recursion, classes, how to write applets,
programming with swing, and event handling in JAVA.
Note: To download any of the code, download the zip or jarfile
if it is available.
If you cut and paste from the page, you might find that
the code is messed up. This is because the < and > symbols were
replaced with the code < and > to make it display in the
page properly (Since < and > are HTML symbols).
It appears that cutting and pasting usually
works, but it may depend on your browser and/or what application you
paste into.
|