CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

How to start programing PICs with CCS C Compiler?
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
richardm55



Joined: 15 Mar 2017
Posts: 12

View user's profile Send private message

PostPosted: Sat Mar 18, 2017 3:31 am     Reply with quote

Thank you for all your information which are very handy and helpful for me as beginner. That's shame I have not started to learn programming PICs long time ago because I have not seen big potential in this microcontrollers. So far I worked with Atmel microcontrollers.

I've managed to get that recommended book k & r The C programming language online very easily from
https://github.com/germanoa/compiladores/blob/master/doc/ebook/The%20C%20Programming%20Language%20-%202nd%20Edition%20-%20Ritchie%20Kernighan.pdf

I have more books about programming in C, for example, book of Stephen Prata. Unfortunately, its not enough time to read a lot of books but I am sure it is worth to do it.

I will try to get that another book newguy has mentioned before. I mean, "Barnett, Cox and O'Cull's Embedded C Programming and the Microchip PIC". Of course, it does not matter if it is old, some old things are also good like wine. I did not realize that CCS C compiler was used for long time that it was introduced in this book
Does anyone know where I could get it in the cheapest way?
I know that I could get it as second hand at Amazon for just around Ł15.
Ttelmah



Joined: 11 Mar 2010
Posts: 19195

View user's profile Send private message

PostPosted: Sat Mar 18, 2017 4:57 am     Reply with quote

The point about K&R, is it was the original C book.

I have three copies. The original first edition (signed - a gift from Kernighan and Ritchie), then a second copy of the first edition - which I actually use, then the ANSI edition.
The first edition is actually the one that is closest to CCS. Specific things like that the default integer size should be the processor's default, are how CCS behaves (which ANSI then changed) - but of course you can use CCS in an ANSI(ish) mode, but at a cost in performance.
richardm55



Joined: 15 Mar 2017
Posts: 12

View user's profile Send private message

PostPosted: Mon Mar 20, 2017 3:25 pm     Reply with quote

I hoped that somebody could tell me where to get the book "Barnett, Cox and O'Cull's Embedded C Programming and the Microchip PIC" somewhere cheaper.
newguy



Joined: 24 Jun 2004
Posts: 1899

View user's profile Send private message

PostPosted: Mon Mar 20, 2017 4:53 pm     Reply with quote

Looks like you can get it via ebay for ~$30 delivered.
richardm55



Joined: 15 Mar 2017
Posts: 12

View user's profile Send private message

PostPosted: Tue Mar 21, 2017 3:11 pm     Reply with quote

At Amazon it is cheaper for around Ł15 including delivery.
richardm55



Joined: 15 Mar 2017
Posts: 12

View user's profile Send private message

PostPosted: Wed Mar 22, 2017 4:21 pm     Reply with quote

Tonight I've ordered this book for around Ł11 including delivery.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group