Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!bloom-beacon!oberon!eve.usc.edu!mlinar From: mlinar@eve.usc.edu (Mitch Mlinar) Newsgroups: comp.os.cpm Subject: Re: Small C Message-ID: <15990@oberon.USC.EDU> Date: 20 Mar 89 19:38:34 GMT References: <8903201146.AA00867@ucbvax.Berkeley.EDU> Sender: news@oberon.USC.EDU Reply-To: mlinar@eve.usc.edu (Mitch Mlinar) Organization: University of Southern California, Los Angeles, CA Lines: 30 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