programming C C++ CPP sundials sun dials
ILLUSTRATING TIME'S SHADOW SUNDIAL PROGRAMS

C sundial programs

C notes and compilers
The GNU compiler here worked for XP and earlier

SOME NOTES ON PROGRAMMING IN "C" (CPP or C++)

There is one free C or C++ compiler available with which this program has been tested.

http://www.bloodshed.net/devcpp.html                about the C products
http://www.bloodshed.net/dev/devcpp.html         download options

If you have no C nor C++ at all, then you should download the full system

Dev-C++ 5.0 beta 9.2 (4.9.9.2) (9.0 MB) with Mingw/GCC 3.4.2     
Dev-C++ version 4.9.9.2, includes full Mingw compiler system with
GCC 3.4.2 and GDB 5.2.1 See NEWS.txt for changes in this release.
NOTE: These notes do not consider
the Microsoft Visual C program
This installed on win64 Vista the
same as it did on win32 XP. The
programs worked first time.
    C
    C + +
    C# (C sharp)
On Windows 8 this crashes on
compile of even a simple source
program.
 Jan 14, 2014, see
above for an IDE that works.
For Windows 8, use the following:-

The notes below refer to a download of C++ that fails in Windows 8. For Windows 8, the following links were used:-
http://www.windows8downloads.com/win8-dev-c--wdoxnrth/
http://sourceforge.net/projects/orwelldevcpp/?source=dlp
this was the resulting compiler/IDE:-

Dev-Cpp 5.5.3 TDM-GCC x64 4.7.1 Setup.exe

This installed and ran first time with no problems.
Jan 14, 2014
These programs are text output programs. Some use the
original C before C++. Others use CPP and classes and
methods but the text output is in the main program. The third
is like the second except a method in the class does the
textual output. They are simple as can be and are thus a basis
for anyone who wants to extend them. One uses old
mainframe printer methods for graphics! Also, there are
hDials in C# (
C sharp) using console, forms, and graphics.
programming JAVA sundials sun dials
A "C" program
with old
fashioned 1960s
graphics
A "C#" C sharp
program with
modern "canvas"
graphics
download Programming
Shadows, it is free, and has
many hints to get you up to
speed on many languages