complex.h workaround in Visual Studio

After some searching I've found that Microsoft Visual Studio does not provide the "complex.h" header file, but I have some C code that unfortunately uses it. I've tried using <complex> and compiling as C++ code; this requires changing




I don't even know what I would need to change

long complex

to. Any ideas how I can get around this?


Have you tried this link?

If you can't use third-party libraries, then I think you're going to be compelled to re-implement complex functionality yourself. The good news is that most complex math is actually really simple to write, unless you need some fairly advanced features.

Need Your Help

Colon Operator with Deques (in Python)

python arrays deque slice colon

I was hoping to use the colon operator with my deque but it didn't seem to work the same as a list.

Display different webpage depending upon membership

web-services web-applications web website webserver

I am trying to create proposal for displaying different webpage depending upon user's membership.(e.g. Premium member - access to whole website, Normal member - cannot see certain tabs which are

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.