Thread
:
multiple definition Problem
View Single Post
#
2
26-01-2009, 18:33
demosthenes2k8
Graduated but not gone
AKA: Matt Soucy
FRC #0166 (Chop Shop 166)
Team Role: Mentor
Join Date: Jan 2009
Rookie Year: 2007
Location: Merrimack, NH
Posts: 589
Re: multiple definition Problem
You're including "RoboDefs.h" twice, once in each file.
Try just including it once, or use code like this:
Code:
#ifndef RANDOM_VALUE_YOU_WONT_USE #define RANDOM_VALUE_YOU_WONT_USE ... #endif
demosthenes2k8
View Public Profile
Visit demosthenes2k8's homepage!
Find all posts by demosthenes2k8
Find CD-Media Photos by demosthenes2k8
Find CD-Media Papers by demosthenes2k8