Re:Issue in MPLAB X IDE using Delays.h Library
Main issue for all beginners in microcontroller world is variety of choices: many devices families, CPU cores, implemented modules, number of pins and associated modules, sharing, oscillators, SFR settings, compilers...
All that should be know in order to produce even plan "Hello world", as is LED blinker.
If you can provide all that information, that can be helpful to suggest you correct way for solving your problem. In your current fragment of the project code is unclear almost all crucial information. For example, 10 clock cycles may mean for example 2us, 10ms or more delay depending what oscillator source is used and specific PIC.
Ports are usually multifunctional I/O. However, PORTA is usualy used for input, since ADC modules are connected to it, thus many modules connected to it must be switched off... Etc, there is many important steps to make depending what is used for the project.