View Single Post
  #11   Spotlight this post!  
Unread 04-11-2003, 16:18
Jeremy_Mc's Avatar
Jeremy_Mc Jeremy_Mc is offline
GitHubber
no team
Team Role: Mentor
 
Join Date: Feb 2002
Rookie Year: 2002
Location: Orlando, FL
Posts: 496
Jeremy_Mc will become famous soon enoughJeremy_Mc will become famous soon enough
Quote:
Originally posted by Raven_Writer
I think we've all forgotten about this point (including me). Dev-C++ won't help us when we need to program the robot, LCC won't help us if we need to fix a programming error in 5 mins. flat.

The only compiler AFAIK that I know of that will help is the one that Microchip has. Others will just through out an error, due to the fact that the keywords are different (in C18, you don't have void main(...){ ... }, you have [some new type] main(...){...})

If you look at the docs, I think that a starting program is given.
I think the starter of this thread was wanting to learn general C first, then learn PIC-C. These suggestions would work fine for that...

The keywords aren't different...they're the same. It's the majority of the same language as C, but you just don't have a lot of the libs. There's a different between keywords and library functions.

Oh and on a side note: The main function on an 18F8520 isn't 'main'...it's 'entry'.
__________________
GitHub - Collaborate on code, documentation, etc. - http://github.com