CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: 2kaud

Search: Search took 0.11 seconds.

  1. Re: Using imaginary number " i ". Dev C++ vs. VS2008!

    Do you mean setting real and imaginary parts separately like this?


    #include <iostream>
    #include <complex>
    using namespace std;

    int main()
    {
    const double fl = 2, Fs = 3;
  2. Re: Using imaginary number " i ". Dev C++ vs. VS2008!

    I'm not an expert on using the complex class, but I believe that for complex numbers, exp works on a complex variable where a complex variable is defined to have a real and imaginary part.

    So...
Results 1 to 2 of 2





Click Here to Expand Forum to Full Width

Featured