代码求改错

[复制链接]
查看11 | 回复0 | 2010-4-30 11:15:54 | 显示全部楼层 |阅读模式
#include #include using namespace std;double f(double x);double xpoint(double x1,double x2);double root(double x1, double x2);int main(){ double x1,x2; cout>x1>>x2; coutpow(0.1,5)||f(x)0) x1=x;else x2=x; } c=x; return c;} 将int 改为double 刚才调试了下。能运行!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行