+ 2
Chrono
Can anyone explain(or give a good tutorial about) std::chrono, specifically std::chrono::system_clock? I prefer the explanation to be a code, saw alot on Google but somehow its little tough. Thanks <3
5 Answers
+ 1
Hope that those links will help you (two C++ references): https://en.cppreference.com/w/cpp/header/chrono, https://en.cppreference.com/w/cpp/chrono/system_clock ; http://www.cplusplus.com/reference/chrono/, http://www.cplusplus.com/reference/chrono/system_clock/ .
+ 1
get i saw the reference mate, I wanted more explanation on the topic. Thx though! :)
+ 1
Maher Al Dayekh, sorry, I cannot help more now (do not know about this, only plan to learn), but I would suggest you searching SoloLearn codes (SoloLearn -> Codes/Code Bits -> Language: C++ -> Keyword(s): chrono).
+ 1
Np man ill check on yt later tonight
+ 1
I would urge you to check out Bjarne Stroustrup's book The C++ Programming Language, chapter 35 on utilities.
He offers a clear and succinct explanation on not only chrono::system_clock but also the entire std::chrono library.