C Within Version 1.5, Update 1
A shareware tool for C and C++ programmers.
|The preprocessing features of C and C++ are enormously useful...but they can also hide
program bugs in a maze of macro definitions and include files. Haven't you often asked
- What does that macro really expand to?
- Am I really using the right include files?
- Did the compiler take the #ifdef or not?
|Many development environments do let you scan the final output of the preprocessing
phase; but then all you see is long pages of complex code, hard to read, and harder to
C Within is a source code viewer that lets you selectively
examine the results of preprocessing. For example:
- If you wonder how a particular macro expands, just click the macro.
C Within will show you the expansion.
If the macro expansion contains another macro, you can click that one
too to see a further expansion.
To collapse an expansion, click with the middle mouse button,
or click with the right mouse button and choose Unexpand
from the context menu.
In this way, you can selectively
expand or collapse macro usages throughout a source code file.
(You can also expand or collapse everything at once if you prefer.)
- If you want to see the contents of an include file, just click
on the #include statement.
C Within opens the file and lets you view it...again,
expanding or collapsing macros as you choose.
- While displaying your source code, C Within grays out code that's
ignored because of #if and #ifdef statements. If you prefer, you can set an
option so that such code isn't displayed at all.
Important: Like a compiler, C Within always
works within the context of a particular set of directories and
include files. For example, if you compile a particular program
against several different sets of include directories, you can use
C Within to check the results of preprocessing
for each configuration. In this way, C Within
shows you what you'll actually get when
you compile in a specific context.
|By the way, C Within also has great facilities for detecting
compilation errors and warnings.
C Within Screen shots
C Within Help File
Download an Evaluation Copy of C Within
Thinkage C Within, Version 1.0 @ $20 US ($25 CDN) per copy.
Volume discounts are available:
|Quantity||Price per Copy|
|200 or more||$10US|
Please see Distribution&Copyright for licensing information.
See the Registration&Payments page for information on registering C Within.