Скачиваний:
16
Добавлен:
01.05.2014
Размер:
346 б
Скачать
	#include <iostream.h>

	#include <time.h>



	main() 

	{

		time_t clock_tick = CLOCKS_PER_SEC;

		clock_t start_time = clock();	// start timer



		/* do the normal work of the process ...*/

		clock_t elapsed_time = clock() - start_time;

		cout << "Run time: " << (elapsed_time / clock_tick) << endl;

		return 0;
	}
Соседние файлы в папке ch4