c++14 makes working with time much nicer.
For example in c++ 14:
And timepertick will be defined a variable representing a 1/20th of a second.
For example in c++ 14:
Code:
#include<chrono>
auto timepertick = 1s / 20;