charexplore.c (C) |
2021-01-19 20:13 |
A bit of code to explore what a character is, and get a foothold on what a string is. Intended to be compilable on rather limited systems with pre-ANSI C compilers. |
Demonstrate a few of the dangers of aliasing pointers to different types of integers in C. (Same holds for assembler.) (C) |
2020-11-11 22:44 |
In response to a thread on the TRS-80 Color Computer FB group, I wrote a little program to demonstrate a few of the problems you run into when treating pointers to one integer type as pointers to another.
|
general sum of squares of digits and repeat (C) |
2020-09-14 21:59 |
This is a routine to sum the squares of the digits of a number, then repeat on the resulting sum, until a sum is repeated, generalized to numeric base 2 through (maybe) 36. |
lsbmsb.c (C) |
2017-04-28 13:52 |
/* Program to demonstrate the effect of LSB1st vs. MSB1st integers
// by Joel Matthew Rees, Amagasaki, Japan
// Copyright 2017 Joel Matthew Rees
// All rights reserved.
// Permission granted to use for personal purposes.
// See http... |
bigalloc.c (C) |
2017-02-17 14:00 |
Memory allocation probe with some rails and meaningful return value. |
halfpiArea_gmp.c (C) |
2016-11-19 11:19 |
A C program using the GMP library to demonstrate simple numerical calculus methods for generating a poor approximation of π, without a lot of command-line control. |
gcd.c (C) |
2015-03-31 14:48 |
Archetypical Example: Euclid's Method of Computing Greatest Common Divisors
超典型的ソースコードの見本~最大公約数を計算する、ユークリッドの互除法 |
プロセスリストを終了時に調べるために、C言語で (C) |
2014-08-17 00:47 |
A C language tool for looking into the process list in a shutdown time script.
See the comments.
コメント文を参照してくださ。(英語でごめん。) |
multiply.c (C) |
2014-01-30 20:56 |
Demonstrating shell command-line parameters.
シェルの命令行の引数を見本として見せています。 |