Go to Post Gotta love the blurred robots :cool: - Steven Donow [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 03-09-2008, 21:24
dpeterson3 dpeterson3 is offline
Registered User
FRC #1178 (DURT)
Team Role: Alumni
 
Join Date: Aug 2008
Rookie Year: 2008
Location: St. Louis
Posts: 158
dpeterson3 is a jewel in the roughdpeterson3 is a jewel in the roughdpeterson3 is a jewel in the roughdpeterson3 is a jewel in the rough
Header files

Hello. I am new to programing. I am trying to upgrade last years code to use Kevin Watson's new code for the new compiler (I can only get my hands on the new one). Anyway, I have a problem with global variables. We had a file called globals.h which stored all our global variables. I copied it into the directory of the new code files, and the file itself compiles jsut fine. However, I call it from my homemade user routines file, and I end up with errors. The compiler spits back "E:\Backup\ifi_frc\globals.h:62:Error: syntax error" I don't understand. How can the header compile just fine on its own and not from another file? Any ideas

Another quick question. I have a printout of a file called oiboard.h in which the oi board inputs are mapped to such as "drt_aux1(sw_swtrig)" which refers to the trigger on the stick on input one. I assume this file is for the oi board and defines how the board sends signals. Am I correct? What I mean is does this code go on the oi board so when it sends data, instead of seeing p1_x, it sees drt_aux(x). I hope I made myself clear enough.

thanks
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting step files to inventor files GMAdan Inventor 4 01-01-2007 20:09
Header File Missing BloodSoakedTear Programming 1 26-02-2006 16:54
CAD Help needed. Mech Desktop 6 files backwards to AutoCAD 14? (2d files) Elgin Clock Inventor 0 30-08-2004 23:06
iTunes Header Code Joe Matt CD Forum Support 8 23-10-2003 19:36
XML Header Jack Website Design/Showcase 2 31-12-2002 14:04


All times are GMT -5. The time now is 00:06.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi