Another Timer Solution

From MWCSWiki

Jump to: navigation, search


This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page


CLICK HERE


Using Boost C++ Library

First start up Devcpp, click on Tools menu, then select "Check for updates / packages.

select C++ Libraries and choose Boost library.

download the selected libraries and install them.

In the source that you require a timer use the following:


include <boost/timer.hpp>

using boost::timer;


// to use the timer

timer aTimer;

// restarts timer

aTimer.restart();

// returns seconds as a double

aTimer.elapsed();

Personal tools