Thread: Editing Main.c
View Single Post
  #4   Spotlight this post!  
Unread 31-01-2004, 18:49
KevinB's Avatar
KevinB KevinB is offline
Registered User
AKA: Alum
no team
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2001
Location: AL
Posts: 188
KevinB will become famous soon enoughKevinB will become famous soon enough
Send a message via ICQ to KevinB
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"
}