View Single Post
  #1   Spotlight this post!  
Unread 25-06-2009, 16:58
Happyisgood Happyisgood is offline
Registered User
FRC #3161 (Tronic Titans)
Team Role: College Student
 
Join Date: May 2009
Rookie Year: 2009
Location: Canada
Posts: 23
Happyisgood is an unknown quantity at this point
Issues with a header file

Hey!

Don't laugh at me for this, I'm having issues with my robot class.

I'm declaring a robot class in a custom header file and then including it in my main file. For some reason I can't get the functions to work in the main file.

This is my first time attempting this so I know it's a stupid mistake but I have no clue what to do!

Attached are the .cpp and .h files!

Thanks!
Nick

NOTE: Its an alteration of the original Iterative default code sample posted on this site earlier, my thanks to whoever did that!
Attached Files
File Type: cpp MyRobot.cpp (1.8 KB, 461 views)
File Type: h RobotClass.h (572 Bytes, 463 views)
__________________
2009 - Waterloo Regional - Regional Finalist
2009 - Waterloo Regional - Engineering Inspiration Award


________________________

2009 Team Member 1334
Reply With Quote