Page 1 of 1

Books to Learn SDCC ?

Posted: 26 Oct 2018 12:03
by Crazyboss
Hi.

Never learned C, but its not to late :)

I know Basic and Pascal, and in some way assembler. Can any one recommend a BOOK for learning the Small Device C ?

I bet if I just pick a random C book, I will have problems, cause the target for those may be PCs.

Re: Books to Learn SDCC ?

Posted: 26 Oct 2018 14:13
by Dave
The "standard" book for ANSI C is the "The C Programming Language" by Kernighan and Ritchie. It's old, published when they developed the language.

I'm not sure how legal it is, but you can get a copy here :

https://www.dipmat.univpm.it/~demeio/pu ... uage_2.pdf

It doesn't cover any of the fancy stuff in C++ or Windows, but covers the basic functions in, for example, stdio.h such as printf() for "printing" to the screen

regards
Dave

Re: Books to Learn SDCC ?

Posted: 28 Oct 2018 13:34
by AndyKey
Yes, the ANSI K&R C book is the one to read.

Re: Books to Learn SDCC ?

Posted: 01 Nov 2018 11:46
by Crazyboss
I guess its this one, books are much cheaper in UK than here.

Locally they want more than £66, So I think I will order it from UK even it had a higher shipping fee :)

https://www.abebooks.co.uk/978013110362 ... 103628/plp

If you want to check the like above, then if it dont open, try to open it in a new tap.