Quote Originally Posted by dukevn View Post
Thanks Paul. I added that and I still have error
The program compiles correctly using Comeau.

If you changed the extension of the source file to .cpp instead of .c, what happens? What version of g++ are you using?

Regards,

Paul McKenzie