View Single Post
  #11   Spotlight this post!  
Unread 05-02-2009, 21:32
Phazonmutant's Avatar
Phazonmutant Phazonmutant is offline
Winrar
AKA: Greg Mitchell
FRC #2556 (RadioActive Roaches)
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Niceville, FL
Posts: 17
Phazonmutant is on a distinguished road
Re: Understanding the Source code

Agreed, C++ is...well, a bit low-level after working with C# for so long.
Quote:
I can still cause the program to quit!
so no exceptions
Yeah, that's what I'm worried about. I haven't thrown any exceptions yet, but it seems stupid, hence my original comment:
Quote:
From the FRC C++ guide, the WPI library doesn't use C++'s exception handling system (for the rather odd reason that an uncaught exception might be thrown - which might happen anyway if there's no push to use exception handling)
How have you been using the preprocessor to handle defines? It's more conventional (from the C++ standpoint) to use the "const" keyword.
Reply With Quote