Books to Learn SDCC ?

Everything about programming, including VDP and Sound programming.
Post Reply
User avatar
Crazyboss
Site Admin
Posts: 274
Joined: 09 Aug 2012 21:45
Location: Sweden
Contact:

Books to Learn SDCC ?

Post 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.
//CLAUS - Webmaster at www.mtxworld.dk
User avatar
Dave
Posts: 1280
Joined: 11 Aug 2012 18:16
Contact:

Re: Books to Learn SDCC ?

Post 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
User avatar
AndyKey
Posts: 74
Joined: 12 Aug 2012 01:29
Location: Southampton, UK
Contact:

Re: Books to Learn SDCC ?

Post by AndyKey »

Yes, the ANSI K&R C book is the one to read.
{{{ Andy
User avatar
Crazyboss
Site Admin
Posts: 274
Joined: 09 Aug 2012 21:45
Location: Sweden
Contact:

Re: Books to Learn SDCC ?

Post 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.
//CLAUS - Webmaster at www.mtxworld.dk
Post Reply