Author: Andy
OpenCV is a free, open source library that enables your computer application to “see” and make decisions from the image data it acquires. Here are some guides for setting up …
Collapse / Expand code blocks: Go into Tools -> Options -> Text Editor -> C/C++ -> Formatting Check everything or a selection as required.
For some time I wanted to incorporate unit testing into our development process. Though many think unit testing is largely a waste of time with not all code bases lending …
Right now I am just starting with a very simple example – no fancy stuff – just a single thread to demonstrate a sequence that updates a counter 20 times …
Creating a new repository from scratch – In Windows Explorer, create the folder to contain your repository folder. – Right-click on this folder and select “Create Repository Here…”
Some neat string formattingA pretty neat snippet found on stackoverflow some time ago (kudos David Rodriguez), that is worth repeating. Some time ago, a ‘moderator’ at StackOverflow removed this thread …
Here’s an example of how using objects (hat-tip: Paul Wolfensberger)
Using boost::scoped_arrayWhen we want to dynamically allocate an array of objects for some purpose, the C++ programming language offers us the new and delete operators that are intended to replace …
Assuming you have downloaded and installed Python, whichever latest version it is, using the IDLE editor is very simple. For a proverbial “Hello World!” example follow the instructions below:
Generically, function objects (or functors) are class instances whose member function operator() has been defined. This member function allows the object to be used with the same syntax as a …