C complex number usage
Michael ODonnell
michael.odonnell at comcast.net
Sun Jan 6 14:05:09 EST 2008
> I'm not sure where to find out about complex number support in C
> (or C++). Most of the pages I've googled so far haven't been
> too helpful.
What's the compiler version? Assuming gcc or g++ try invoking
with only the -v option to learn the version.
Try adding the -E option and then looking at the resultant mess.
For example, if your compilation command is something like:
g++ --your-specific-options-here -o yourProgram yourProgram.cpp
...then you might learn something by doing this:
g++ -E --your-specific-options-here yourProgram.cpp > /tmp/jnk.cpp
...which will dump the fully preprocessed glop into /tmp/jnk.cpp
where you can stare at it for further clues.
If you're not using the Gnu tools then your compiler probably has
similar capabilities that can be exploited in the same way.
More information about the gnhlug-discuss
mailing list