This is only my third day of 'C18' programming and I know this is a bit trivial but it's bugging me....
When I build my main source file the editor window 'focus' keeps shifting from my source file tab to the c018i.c tab. Means more unnecessary mouse clicking. Same thing happens when I program the PIC.
Any way of stopping this? Thanks in advance for any help.
C0 is the startup code to setup the stack and init constants. Most often we do not care about or want to see it. Some debuggers have a option to run to main() and that solves the problem.
Short of that you have to set a breakpoint in main and hit run.
It is easy enough to deal with.
EDIT: I have seen people end up in C0 because there is a problem with the program. Like trying to run bits other then what they think they just compiled. If that makes sense.