c++ subscript is not of integral type#include #include using namespace std;int count(float x0,float f0,float i,int E,int N){ float x[20]; double f[20]; float fd[20]; float fd0=2*x0*x0-1; for(i=1;i

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/20 12:02:30
c++subscriptisnotofintegraltype#include#includeusingnamespacestd;intcount(floatx0,floatf0,floati,int

c++ subscript is not of integral type#include #include using namespace std;int count(float x0,float f0,float i,int E,int N){ float x[20]; double f[20]; float fd[20]; float fd0=2*x0*x0-1; for(i=1;i
c++ subscript is not of integral type
#include
#include
using namespace std;
int count(float x0,float f0,float i,int E,int N)
{
float x[20];
double f[20];
float fd[20];

float fd0=2*x0*x0-1;


for(i=1;i

c++ subscript is not of integral type#include #include using namespace std;int count(float x0,float f0,float i,int E,int N){ float x[20]; double f[20]; float fd[20]; float fd0=2*x0*x0-1; for(i=1;i
int count(float x0,float f0,int i,double E,int N)