Subject:
|
preprocessor directives
|
Newsgroups:
|
lugnet.robotics.handyboard
|
Date:
|
Wed, 23 Oct 1996 05:10:26 GMT
|
Original-From:
|
Randy Sargent <rsargent@newtonlabs+nospam+.com>
|
Viewed:
|
1525 times
|
| |
| |
> but the big PDF-format manual on the 6.270 (MIT ftp site),
> which I believe has been variously quoted as the best info source on this
> whole family of boards, DOES say that "6.8: This year (?) IC will
> automatically run input files thru the C preprocessor........ Using
> #define ... can make your code more efficient ... " etc.
Hi Brian,
MIT has been using the precursor to IC 3.1 for several years. IC 3.1 is
the first public release to support features such as the preprocessor
(http://www.newtonlabs.com/ic/). Integrating the preprocessor didn't
happen back in 2.8x because it took a fair bit of effort to integrate the
feature across both the compiler and the commandline. #defines in IC 3.1
are accessible from both, so if you decide implement a function or constant
as a #define for efficiency sake, you can still type it in when you're
debugging (most C debuggers don't do let you do this).
Hope this helps.
-- Randy
|
|
1 Message in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|