Power C by MIX Software, (214) 783-6001 US. No website listed on the book. Cost ~1998 was US $19.95 It's not C++ or C## just plain ol' C, and runs on your PC. I found it indispensible for learning C. Compiler comes with a book that is a step by step tutorial for us who can't even spell "C". Or you could say the book comes with it's own compiler. I recommend it highly as a C tutorial. I've done a project or two converting PICbasic to C. Ended up using about 1/3 less code space. I didn't really change the structure of the program at all, just translated the pieces one by one and did a little hand optimization, sprinkle with assembler and bake for 20 minutes. ;-) Anything you are particularly struggling with, Fritz? --Lawrence Lile ----- Original Message ----- From: "John Ferrell" To: Sent: Sunday, August 19, 2001 3:25 PM Subject: Re: Migrating from Pic Basic to Pic C > Beware: I am not familiar with either PIC C or Pic Basic. I offer the > following as a general overview from my personal perspective. > > About C Programming Language: > > All there is to know about C is in "The C Programming Language" by Kernighan > & Ritchie. It is a small book about 5/16" thick. The part that makes it > difficult to grasp is that everything is a function but much of the time the > value of the function was not the goal of the statement. The objective came > about as side effects of the function evaluation. The really avid C bigots > seem to delight in nesting functions in functions in functions.. To the > point that most of us have to rewrite the code just to understand it. After > you get it into a form where you are comfortable it is not so bad. > > I have a terrible time deciphering someone else's code but I don't have any > problem with my own which tends to look a lot more like Pascal than C. I > find the symbol short hand of { and } to keep me confused. Instead most > (all?) compilers will allow you Define the brackets as Begin and End. Using > this idea you can make the compiler look the way you like it. Whatever > structure and defines you elect seem to still generate pretty efficient > code. > > The bad news is that there really is not any I/O in the C Language. It lives > in the libraries and as such is defined a little differently in each > implementation. > > Another thing to get used to is that C was written to be efficient and > moving data around internal to the process is not simple. That is, rather > than pass an array (or string or any data) it will pass a pointer. Always > know if your data are local or global. > > I have not chased it down recently but a company named "Mix" used to offer a > free Dos C compiler on the PC. An easy place to experiment with the syntax. > > > > John Ferrell > 6241 Phillippi Rd > Julian NC 27283 > Phone: (336)685-9606 > Dixie Competition Products > NSRCA 479 AMA 4190 W8CCW > "My Competition is Not My Enemy" > > > > ----- Original Message ----- > From: "Fritz Braun Jr." > To: > Sent: Sunday, August 19, 2001 2:12 PM > Subject: Migrating from Pic Basic to Pic C > > > > Hi all > > I am currently planning to migrate from Pic Basic to Pic C. I understand > > ,from what I've read so far that this will require a totally different > mind > > set ( treatment of subroutines , goto's etc). Can anyone recommend reading > > material that will help in this change. > > > > I don't know if I've got a mental block or not, but after years of > assembler > > and Basic I'm viewing this as a traumatic experience. Maybe I'm wrong. > > > > looking forward to some help. > > > > thanks > > Fritz > > > > -- > > http://www.piclist.com hint: To leave the PICList > > mailto:piclist-unsubscribe-request@mitvma.mit.edu > > > > > > -- > http://www.piclist.com hint: To leave the PICList > mailto:piclist-unsubscribe-request@mitvma.mit.edu > > -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads