View Single Post
  #15   Spotlight this post!  
Unread 05-02-2004, 11:13
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Re: A few questions on programming the Control System

Quote:
Originally Posted by Raven_Writer
Code:
typedef enum{
true = 1, false = 0
} bool;
According to one of my programming mentors, enums don't work with this compiler. I didn't actually try it myself, but I trust him enough to think he did it right. It was also on the edubot, preseason. But, the compilers the same, so if it didn't work on one, it probably won't work on the other.
__________________