Click here to Skip to main content
15,885,278 members
Articles / Desktop Programming / ATL

Simple C++ Timer Wrapper

Rate me:
Please Sign up or sign in to vote.
4.78/5 (16 votes)
15 Jan 2011CPOL2 min read 108.1K   5.1K   46  
TemplateTimer: A convenient and simple MSVC / C++ timer wrapper for Windows using templates, where a class function can be easily specified for the timed event callback.
// stdafx.cpp : source file that includes just the standard includes
// TemplateTimerDemo.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information

#include "stdafx.h"

// TODO: reference any additional headers you need in STDAFX.H
// and not in this file

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

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


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

Comments and Discussions