| View previous topic :: View next topic |
| Author |
Message |
JesusXP
Joined: 17 Jan 2006 Posts: 80 Location: Ontario, Canada
|
|
| Back to top |
|
 |
be2003
Joined: 20 Apr 2006 Posts: 144
|
Posted: Thu Nov 09, 2006 5:37 pm Post subject: |
|
|
try putting the int main() at the end behind the other functions...
just a thought _________________ - be2003
blog |
|
| Back to top |
|
 |
JesusXP
Joined: 17 Jan 2006 Posts: 80 Location: Ontario, Canada
|
Posted: Fri Nov 10, 2006 4:07 am Post subject: |
|
|
| I thought as long as I had prototype declarations, it was legal to have main where it was, and functions after it. |
|
| Back to top |
|
 |
TyRaNiD
Joined: 18 Jan 2004 Posts: 918
|
Posted: Fri Nov 10, 2006 4:24 am Post subject: |
|
|
| Well the main can be anywhere you like. However you dont really describe in what way it doesn't run etc, or what firmware you are using or... |
|
| Back to top |
|
 |
be2003
Joined: 20 Apr 2006 Posts: 144
|
Posted: Fri Nov 10, 2006 9:22 am Post subject: |
|
|
seriously... please state the firmware and host the file along with the makefile _________________ - be2003
blog |
|
| Back to top |
|
 |
Insert_witty_name
Joined: 10 May 2006 Posts: 376
|
Posted: Fri Nov 10, 2006 1:48 pm Post subject: |
|
|
I've answered this on the thread you posted on QJ.net
It was a 'trying to load a file that doesn't exist' kind of error ;) |
|
| Back to top |
|
 |
JesusXP
Joined: 17 Jan 2006 Posts: 80 Location: Ontario, Canada
|
Posted: Fri Nov 10, 2006 3:53 pm Post subject: |
|
|
| Thanks for the help :)...I gotta stop programming high.. |
|
| Back to top |
|
 |
be2003
Joined: 20 Apr 2006 Posts: 144
|
Posted: Fri Nov 10, 2006 4:10 pm Post subject: |
|
|
isnt the //prototypes part of your code redundant...
also are you remembering to include all of your LIBS in your makefile _________________ - be2003
blog |
|
| Back to top |
|
 |
|