|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: PROGRAMMING PROBLEM HELP!
so what should i do? i dont have anyother variation of a default code
|
|
#2
|
|||||
|
|||||
|
Re: PROGRAMMING PROBLEM HELP!
Use the original released by IFI: http://www.ifirobotics.com/docs/frc-code-2007-8722.zip
The code snippet you posted earlier shows a line commented out, so it's been modified from the original. Make sure the original compiles "as is" for you, then start adding your modifications, compiling and checking each modification as it's added. You'll catch where you've gone wrong. Last edited by Mark McLeod : 09-01-2008 at 12:00. |
|
#3
|
||||
|
||||
|
Re: PROGRAMMING PROBLEM HELP!
Whenever we have a syntax error in our code, and our code on the line and after the line is grammatically correct, our next step is to make sure we aren't defining something previously defined.
Then we look at the code above it for syntax errors. For instance, if you have a line of code before that like this: int new_variable and forget the semicolon, then it will cause the error on the next line following. Same goes for braces and brackets, etc. The only other thing i can think of is that the typedef is inside a function, which causes problems. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Easy C programming Problem | fredliu168 | FIRST Tech Challenge | 6 | 19-11-2006 22:44 |
| Programming Problem: Extremely Frustrating | chantilly_team | Programming | 19 | 12-02-2005 23:00 |
| C programming problem... | wasabi824 | Programming | 5 | 08-02-2004 01:04 |
| multi-bank programming problem | GregC | Programming | 3 | 14-02-2003 16:13 |
| programming problem | gthakore | Programming | 16 | 20-04-2002 12:21 |