The file has a .cpp extension or just .c extension? Some compilers will act like a classic C compiler rather than C++ if the extension doesn't indicate to do otherwise.
I downloaded several other versions of Dev C++ and found one that works fine. I didn't wanna mess with copying the header files and whatnot, it just gave me more errors.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.