I have a small program that I want to write in C, but there is a library that I want to use that is written in C++. I'm thinking that I can write a wrapper that I can call from my C app. FYI, this ...
Without much looking, I would simply use the gsl library, which has complex support (so you don't necessarily need C99), and completely recognizes complex numbers.
Results that may be inaccessible to you are currently showing.
Hide inaccessible results