----- Original Message ----- From: "James Paul" To: Sent: Friday, October 06, 2000 2:33 PM > Andy, > > I'll tell you that the best way to learn "C" is to jump in with > both feet. Go to a bookstore and buy a book on "C". It doesn't > really matter too much which one, but get a brand name one. My > first suggestion would be the K&R book on "C". Thanks, two other people have suggested that one so it must be good. I'll give Amazon the pleasure of my company a bit later. > Anyway, study the parts of the book discussing headers, variable > and constant declarations, Data structures, and most important, > functions. Once you have this basic knowledge under your hat, > get some example programs from the compiler you intend to use, > (I have CCS C), and study them for a while. Then just jump in > there and write a program, try to compile it, fix the mistakes, > try to compile it again, and so on. Once it compiles, run it on > the simulator (or actual hardware) and see if it does what you > expect. If it does, go on to another. If not, fix it until it > does. This seem like an intensive method, but believe me, it'll > get you up the learning curve faster than anything. Especially > if you already know assembly, and some other high level language. > This is the way I done it and it only took a few days to get > proficient. Of course, I did have some "C" experience going into > it, but it should work for you too in short order. Let me know how > you make out. Thanks for that Jim. C is a bit daunting for a complete newcomer to it - with assembler you can easily visualise what effect the commands will have when they hit the hardware, and BASIC is pretty simple becuse really it's just English. C on the other hand seems pretty impenetrable on first meeting so your advice and encouragement is very welcome. I'll post a progress update message when I've written my first proper program in C. The one after "Hello World"! Cheers, Andy. . -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.