Click here to Skip to main content
15,895,709 members
Articles / Programming Languages / Visual C++ 9.0

Debugging technique

Rate me:
Please Sign up or sign in to vote.
4.00/5 (1 vote)
31 Jan 2011CPOL 9K   3  
Here is a fun program that not only shows how to get precise timings by using the time stamp counter, it also shows how to call main recursively. This is a C program. C++ will not allow calls to main.#include "stdio.h"#include "Windows.h" // Required for Sleep#define CPUID __asm __emit...

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions