CCP stands for capture, compare, and PWM (pulse width modulation). It has the capability to capture streams of input data, act as a comparator, or produce a software adjustable PWM output. The brown out reset is a flag that tells the MCU to reset if the supply voltage dips below a certain level. Details on the operation of the CCP moudle, the BOR, and all the other features of the 16F877A are contained in the datasheet. There is also a microcontroller forum on this site. You might want to check it out.