用dev-c++运行c++时总是出现类似如图的语句是怎么回事

用dev-c++运行c++时总是出现类似如图的语句是怎么回事
源代码如下
#include<iostream>#include<math.h>using namespace std;class point{ float x, y;public: point(float xx, float yy) { cout << "point构造函数" << endl; x = xx; y = yy; } point(point &p) { x = p.x; y = p.y; cout << "point拷贝构造函数" << endl; } float getx() { return x; } float gety() { return y; }};class Distance{ point p1, p2; double dist;public: Distance(point a, point b); double getdis() { return dist; }};Distance::Distance(point a, point b) :p1(a), p2(b){ cout << "distance构造函数" << endl; double x = double(p1.getx() - p2.getx()); double y = double(p1.gety() - p2.gety()); dist = sqrt(x*x + y*y);}int main(){ point myp1(1, 1), myp2(4, 5); Distance myd(myp1, myp2); cout << "距离是:" << myd.getdis() << endl;}

告诉你程序执行了多少时间,返回值是多少,帮助开发人员判断程序运行的状态。追问

请问怎么样设置不显示它?
它的意思我还是看得懂的

追答

这个只有在IDE环境中运行程序才会有,你直接在命令行下执行编译出来的程序是不会有这个的。
我没有装DEV-C所以不知道选项在哪里。你可以在选项里面找一下。

温馨提示:内容为网友见解,仅供参考
无其他回答
相似回答