Date : Mon, 20 Mar 1989 19:38:34 GMT
From : eve.usc.edu!mlinar@oberon.usc.edu (Mitch Mlinar)
Subject: Small C
In article <8903201146.AA00867@ucbvax.Berkeley.EDU> PC3@IB.RL.AC.UK (Paul
Clayson) writes:
>Does anybody use Small C? I'm using the CP/M version available from
>the Simtel20 PD archives. Does anybody have any information on what
>is/is not available in small C, as I cannot get it to compile
>multidimentional arrays, DO-WHILE, FOR or SWITCH-CASE. Are these
>not available or do I need to know more on how to use them in Small C?
Yep, the documentation is quite clear in what it has as well as what it
is missing. Items *NOT* supported in SmallC v1.2 are:
- for
- do/while
- switch/case/default
- multiple dimension arrays
- goto
- float (although it does support double)
- structures
- unions
- multiple indirections (two or more * such as **i)
- assignment operators (+= -= *= etc.)
- storage classes
- precompiler stuff other than #define/#include/#asm/#endasm
- declaring a function AND its function type in the same line
(e.g. double foo(i) int i; /* will not work */)
- probably other things too
For a free compiler and a learning tool (you get the source code), it
is pretty decent.
-Mitch