Computer Interfacing
Discussions about interfacing and electronics
 

CCITT16 Implementation for Very Primitive C Compiler

Many standard C types are not supported.


 

       Computer Interfacing Forum Index -> Error detection and correction
Author Message
Jimnoid
New User



Joined: 04 Mar 2014
Posts: 1


Mar 04, 2014 4:41 pm

Hello and thanks in advance for any help that you are kind enough to offer.

I am using a development tool that has a very primitive C compiler. Switching to a more modern tool is not an option for many reasons. This implementation of C does not support the CHAR type, pointers, or two dimensional arrays.

I am a self-taught novice hacker at C and I am finding it beyond my current skill level to adapt the CCITT16 program so that it doesn't use pointers or char. I'm sure if I knew more this would be possible.

Would someone please provide an example or attempt to educate me enough so that I can stumble across the answer?

Regards, Jim
Guest








Mar 11, 2014 10:23 pm

Please cancel this request.

I've spent quite a bit of time experimenting with Lammert's code and was able to adapt it to my needs.

All my stumbling blocks were due to my primitive understanding of C types and how pointers work.

I was ignorant - but I'm OK now.

       Computer Interfacing Forum Index -> Error detection and correction
Page 1 of 1



Running on php BB © 2001, 2009 php BB Group
   Lammert Bies     Interfacing     Sitemap     Forum