Check out Microchip's website, look under appnotes in the design section and sort by name. There are hundreds of appnotes for various pic micro controllers (you can search within the 18f series specificall if you want) that will show both good code practice, effcient hardware usage and general digital and analog methods for utilizing PIC's and micro controllers in general in real world environments and for reald world purposes. The appnotes alone should keep you reading for the next few years.
You are right, there are PIC16, PIC24 and dsPIC DSC Family Reference Manuals but none for the 18F family. There is supposed to be a document named DS39500A but it is nowhere to be found. All that I can see is the errata sheet for the DS39500A but not the DS39500A itself! Apparently, it is being updated and has been pulled until it's done.
You are right, there are PIC16, PIC24 and dsPIC DSC Family Reference Manuals but none for the 18F family. There is supposed to be a document named DS39500A but it is nowhere to be found. All that I can see is the errata sheet for the DS39500A but not the DS39500A itself! Apparently, it is being updated and has been pulled until it's done.
Thanks for that BlinkStar. How'd you find it anyway?
As mentioned by Richard, the file is very old. From 2000 in fact so there is no info on the ECCP module etc, but still very useful to have.
I got this file from my programmer cd-rom's and have original filename "39500a.pdf" so i try to googling with keyword "39500a.pdf". Finally get the url. Thanks to google