This declares the main “task”, this is in contrast to standard C where main is a function and is declared as Now back to RobotC, starting with line 1: Here are two resources I’ve used in the past for details on Cĭon’t be afraid of the title of the second link, while it does eventually go into some more advanced topics it starts nearly from scratch, but it does assume some previous programming experience. I will do my best to explain this program in the simplest way possible, but unfortunately some things are best explained in comparison to programming in C. This time I want to examine this program line by line and explain exactly what each line is doing. In my last post on RobotC, I introduced programing in RobotC with the following piece of code:
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |