Thread
:
Editing Main.c
View Single Post
#
4
31-01-2004, 18:49
KevinB
Registered User
AKA: Alum
no team
Team Role: Alumni
Join Date: Dec 2002
Rookie Year: 2001
Location: AL
Posts: 188
Re: Editing Main.c
There really is no advantage to doing this. If you're worried about code readability, try splitting the actual code up into separate files like this:
Code:
if (autonomous_mode) { #include "auton.c" } else { #include "manual.c" }
KevinB
View Public Profile
Find all posts by KevinB
Find CD-Media Photos by KevinB
Find CD-Media Papers by KevinB