Click here for important information about

Why does include return an error?

July 23, 2010 at 20:22:44
Specs: Windows Vista
#include <cstdlib>
#include <iostream>
#include <math.h>

using namespace std;

int main(int argc, char *argv[])

It returns the error
3 C:\Dev-Cpp\d.cpp In file included from d.cpp
806:2 C:\Dev-Cpp\include\math.h #endif without #if
C:\Dev-Cpp\ [Build Error] [d.o] Error 1

The odd thing is this used to work but one day started doing that, now even stuff that used to work returns that error.

See More: Why does include return an error?

July 24, 2010 at 05:12:10
Your copy of math.h is corrupt; get a fresh copy.

Report •
Related Solutions

Ask Question