Nice PIC C examples can be found in links bellow
http://www.mcuexamples.com/PIC-C-Examples.php
http://www.mcuexamples.com/PIC-LED-Example2.php
http://www.mcuexamples.com/push-buttons-and-switch-debouncing-with-PIC.php
http://www.mcuexamples.com/PIC-Relay.php...