*****
There are so many different applications, so many different requirements, so many different options what to code and coding styles...
You won´t find a book that covers all possibilities.
You could do
* a simple heater ON/OFF control
* real time signal processing
* a cloud based weather station
While you maybe write some code for some application from the scratch ... you probably won´t code a whole TCP/IP stack from the scratch.
I recommend to narrow down your application requirements.