No, you will not be able to compile that program with MPLAB, only with MicroC.