A sample demonstration of using the Boost libraries as a means of finding matching words in a large array table, that match the given lookup criteria.
Suppose you are wrestling with a cryptic crossword and want to find all seven-letter words whose third letter is ‘Y’ and fifth letter is ‘N’, or better still, run a program that will find these words for you.
Some hints and tips on how to overcome an annoying little gotcha that causes the Linux-based NetBeans IDE to freeze when trying to create a new project:
Instead of presenting the user with the options for creating a new project as shown in the screenshot below, the screen remains stuck with the egg timer, and does not allow the user to proceed:
To merge changes made in your branched project back into the trunk (re-integrate).
For branching in TortoiseSVN see this previous post.
So you’ve now made some changes to your branched project that have been debugged, tested, reviewed etc and checked in. Given that you and your team are happy with the branched changes, you now wish to re-integrate them back into your trunk.
When using Subversion / TortoiseSVN I tend to use the ‘conventional’ repository layout by adding branches/tags/trunk directories to the root: (Please click on any images shown here to enlarge.)
These instructions pertain to the use of Visual Studio 2010, but barring one or two differences should be reasonably applicable to other versions of Visual Studio as well. Much of these instruction can also be found over at the functionx site, but more screenshots are included here to give a clearer understanding.
A brief and hopefully to the point on getting up and running with OpenGL in an Ubuntu Linux environment. For setting up OpenGL in Windows / Visual Studio environments, please see this post. My choice of integrated development environment for C++ development for this example is Netbeans 7.3. Continue reading
Listing1: Serialization of STL containers: a
std::vector example using text archives
Your intuition may tell you to iterate through the STL container in order to serialize it, but it’s actually a lot simpler. First of all, be sure to include the necessary
vector.hpp include file:
1. Download and extract the SWiG interface:
Windows version available here:
A utility in C# to use public/private key encryption of data inside large text files, before sending them over a secure connection such as SSL. As I soon found out when playing around with this technique, RSA as a means of assymetric encryption has a drawback, and that is in the size of the text you are encrypting – anything other than a piddling amount of text resulting in a ‘Bad length’ type of Exception. This is because asymmetric encryption is designed only for encrypting data smaller than it’s key size.
A static library is simply a file that contains functionality that can be made available to other programs. Static libraries end with the .lib extension and are made available to other Visual Studio projects (console applications, MFC applications etc) by creating links to them. Please follow the steps described below in order to create and use your own static libraries.