I have a process returned statement stating "Process returned -1073741676 (0xC0000094)" with no actual result of the operation preformed. I would like to do the following operation root(n-1,a/b)
Replacing the operations within the pow operation with defined variables. The compiler is GNU CC. I am using Code::Blocks.
#include <iostream>
#include <cmath>
#include <math.h>
using namespace std;
float r;
int a;
int an;
float n;
int c;
int choice;
int findve;
int rmdr;
int k = pow(r,(n-1));
int b;
int j;
int main (){
//***In case the element missing is r***
if (findve == 2){
cout << "intput an \n";
cin >> an;
cout << "Input a \n";
cin >> a;
cout << "Input n \n";
cin >> c;
j = (pow((a/b),(1/(c-1))));
cout << "The ratio is " << j;
return 0; }
}
I expected for j to show up within the console however no result showed up and the following message shows in console is "Process returned -1073741676 (0xC0000094)". The message on the build log states "Process terminated with status -1073741676" I am attempting to do the following operation root(n-1,a/b)
User contributions licensed under CC BY-SA 3.0