Sample introductory Object Oriented Programming code in
php, java, and C++ showing the similarities and differences.
Never-the-less, OOP, despite all the bragging we hear about it, is a lot more expensive to write and to maintain than clean structured code. The reality of it does not live up to the theory, ...
Read more »
C, C++, C#
Comparing OOP in php, java, and C++
accessing a MySQL db
4 sample C utility programs that came with MySQL
1. connect_test.c
2. select_test.c
3. insert_test.c
4. list_test.c
They came with the disclaimer below.
/* connect_test.c A program to connect...
Read more »
screen I/O pgm
screen I/O pgm in C & Pascal
This program will go through a list of songs, throwing out one song or another until it finds a total time that most nearly matches the target time. It will display and write to a (text) file the new (sub) list and, separately,...
Read more »
[C] File I/O and params
Simple example of file I/O, buffering, and input parameters. The pgm breaks a file into diskette (or any) size pieces. if the parameters are not correct, instructions are written to the screen.
#include ...
Read more »