Was kommmt als Fehlermeldung?

Ansonsten ersetz mal:
Code:
#include <iostream>
#include <cmath>
mit:

Code:
#include <stdio.h> //kA ob du das brauchst, machs einfach rein :)
#include <iostream.h>
#include <cmath.h>