C68 Version 3.03

Authors

Publication

Pub Details

Date

Pages

See all articles from QL Hacker's Journal 11

I have received version 3.03 of C68. Just before this I picked up a copy of 3.01 and had problems with it. I expected to get version 3.02 (a serious bug fix of 3.01) but got 3.03 instead. Version 3.04 has been released by Dave Walker. He seems to put out a new release about 1-2 months, so don’t expect to be up-to-date.

C68 is now up to 12 disks. There are 3 disks for Runtime and documentation, 4 disks for source, 1 disk for tutorial, and and 4 assorted disks. The assorted disks contain the most interesting items.

  • Debugging Tools: Headers, libraries, doc’s, and source. Not being a user of C debugging tools, I can’t really say much on these tools.
  • C Programming Tools: cproto, indent, unproto, executables, docs, & source. cproto is used to generate C function prototypes and convert function definitions. unproto is used to convert ANSI programs to K&R so they can be compiled with C68.
  • LIBQPTR: System files, doc’s, & source. Not knowing a lot about the QPTR pointer interface, I can only make a few comments on this disk. It contains Window Manager and some code dealing with Menus (a Menu Manager?). I’ve only started looking over the doc’s. I don’t know if any other software is needed to use this library.
  • CPORT Support Library. This disk contains a library to use with programs ported to C using CPORT, a commerical SuperBasic to C utility. From reading the doc’s, the CPORT library can not be distributed to non-CPORT owners. This library for use in distributing your CPORT compiled programs.

The first version of C68 that I received and used the most is version 1.05. With version 3.01 and greater, C68 comes with C68Menu, a menued front-end for C68. It makes C68 easier to learn, but has a few draw backs.

From MausNet Franz Herrmann reports that Helge Kauke has found the Trig functions of C68 math library do not work. The article does not mention what version of C68, so I’ll add it so all can test it for themselves.

   #include <stdio.h>
#include <math.h>
/* This program hangs up when calling sin(x) at x= 2*PI.
And the results of cos()/sin() are wrong.
*/

int main ( void) {

double x;

for ( x = 0; x <= 2*PI; x += PI/2) {
printf("%8f %8f %8f\n", x, sin(x), cos(x));
}

return 0;
}

Products

 

Downloadable Media

 
Scroll to Top