We help IT Professionals succeed at work.

Complex Numbers and Visual C++ and/or MFC

joefinn
joefinn asked
on
Medium Priority
428 Views
Last Modified: 2013-11-20
I need to do complex numbers using Visual C++ 4.x. Does Visual C++ come with a complex library? If it does how come performing a search on complex numbers does not yield anything and I can't find a complex.h file?  If it does not come with a complex library what are my options?  Thanks.
Comment
Watch Question

Commented:
It comes with a complex template. You should find a file "complex" (no .h) under the MSDEV\Include directory. If not, install the standard template library.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
Hi Tser,

I can not find the complex (no .h) file. I have Visual C++ v4.0.
On the CD I see a STL provide by HP but there is no complex in
the file listing.  How do I install the template library?

Thanks

Commented:
I just checked. You need Visual C++ 4.2.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.