Menu

possible to use complex.h ?

Anonymous
2003-02-03
2012-09-26
  • Anonymous

    Anonymous - 2003-02-03

    Hello,
    I am wondering if it is possible to use the complex number datatype introduced by ISO C99 defined in <complex.h> with Dev-C++.

    Are there any additional libraries I could install to get the same functionality?

    thanks for your thoughts...

    Patrick

     
    • Nobody/Anonymous

      complex.h, and it looks like the more modern named complex, are present in the Dev 4.9.7.4/gcc-3.2 (what I have) distribution.  Depending upon how you have your include search path set up, you may or may not see them.

      My complex.h files are in:
      c:\dev-cpp\include\c++\backward
      and
      c:\dev-cpp\include\c++\3.2.1\backward

      complex is in
      c:\dev-cpp\include\c++\3.2.1

      Wayne

       
    • Anonymous

      Anonymous - 2003-02-03

      thanks you are right. The file is there.

      Apparently Dev-C++ couldn't find it because I set it up to use C, not C++ when I created my project.

      I hope I will be able to solve this now...

      thanks

       
    • Nobody/Anonymous

      I am sorta the reverse, Ihave modified my include paths for C++, but have been lazy with C.

      Good luck!

      Wayne

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.