Class definition causes error.

I am trying to compile an fft.ccp file from this website:

http://www.librow.com/articles/article-10

Currently I have troubles with a private header file (complex.h). This file is referenced in fft.cpp.

http://www.librow.com/articles/article-10/appendix-b-1

The error I get is here:

 
  complex.h:11:7: error: expected identifier before ‘_Complex’


The line it points to is:

class complex{

What's wrong with the class definition?

Thanks, - Alex
Last edited on
What compiler are you using? It looks like it might not be standards-conforming.
g++ in Ubuntu 12.04
What is the output of g++ --version ?
What do you mean? There was no output. I got a compilation error.
This has nothing to do with the code. Open a shell and run g++ --version
Topic archived. No new replies allowed.