Originally published on my blog.
The Chuck Norris library is written in C++ and contains a class able to give you random Chuck Norris facts when the
getFact() method is called:
Here’s how to use it:
#include <ChuckNorris.hpp> ChuckNorris chuckNorris; std::string fact = chuckNorris.getFact();
You will find all the source code on GitHub.
“Let’s Build Chuck Norris!” project is a series of blog posts aiming at exploring various topics about C++ and build systems:
Here are all of them, in chronological order. Enjoy!