티스토리 뷰
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
void main(void)
{
clock_t start, finish;
double duration;
//code
printf("Hello world\n");
//code
start = clock();
finish = clock();
duration = (double)(finish - start) / CLOCKS_PER_SEC;
printf("%04f 초입니다.\n", duration);
}
결과
'C > 자료구조' 카테고리의 다른 글
이중 연결 리스트 (0) | 2019.03.13 |
---|---|
원형 리스트 (0) | 2019.03.13 |
자체 참조 구조체를 이용한 동적 리스트 (0) | 2019.03.13 |
배열을 이용한 리스트 (0) | 2019.03.13 |
자체 참조 구조체 (0) | 2019.03.11 |