time(&start); //1970年1月1日0时0分0秒至今的秒数,放入start中 ... time(&end); cout << "using" <<end - start << endl; //输出了中间...程序段所用的时间