Gast
#2161744
Huhu
ich habe ein kleines Problem bei einem (vermutlich) relativ simplen C++
Programm.
# include <iostream>
# include <stdio.h>
# include <math.h>
using namespace std;
int main ()
{
system ("PAUSE");
double x;
double y;
cout << "Bitte Radikant eingeben: " << endl;
cin >> x;
do
{
y=x-0.000001;
while ( (y*y-x)/x >= 0.000001);
}
cout << "Wurzel: " << (0.5*(sqrt(y)+(x/(sqrt(y))))) << endl;
system ("PAUSE");
return 0;
}
Fehlermeldung:
error C2061: Syntaxfehler: Bezeichner 'cout'
Ich weiß wirklich nicht was das Programm damit meint ...
und meine do while schleife funktioniert auch nicht -.-
wäre echt nett wenn mir hier jemand weiter helfen kann
vielen dank schonmal