Hi,
i recently installed Code:Blocks (10.05 with MinGW) on my Windows machine.
I tried to compile my CPP code, but whem I try to start my executable I recieve an Error that the msvcr70.dll is missing.
This is my Code.
#include<iostream>
#include<conio.h>
#include<Windows.h>
using namespace std;
long double _fak(int number);
int main()
{
start:
int zahl;
long double ergebnis;
cout<<"Bitte geben sie einen Wert ein von dem sie die Fakultaet wissen wollen!\n";
cin>>zahl;
if (zahl>170)
{
system("cls");
cout<<"Der angegebene Wert ist zu gross,\nbitte waehlen sie einen Wert zwischen 0 und 171!\n";
getch();
system("cls");
goto start;
}
ergebnis=_fak(zahl);
cout<<ergebnis<<endl;
getch();
system("cls");
goto start;
return 0;
}
long double _fak(int number)
{
long double ergebnis=1;
for (int i=number; i>=1; --i)
{
ergebnis= ergebnis*i;
}
return ergebnis;
}
So i downloaded the .dll file.
I tried to compile and run my Code again, but this time I recieved the error code 0xC0000005.
I hope that you can help me :)