Could I ask what books you bought. I bought a couple of books about C but they dont seem particularly suited to Microcontroller particularly with regard to libraries and hardware.
Thanks
Keith
Second edition "The C Programming Language" ANSI C by Brian W. Kernighan and Dennis M. Ritchie is considered a standard although not specifically for microcontrollers as richard said C is C.
even though this is an Arduino book the chapters on data types , pointers , structures and unions ,looping functions are good value
and translate well into xc8 . best of all its free
Bookmarks