C++ – OpenMP – std::cout – Print with OpenMP
In this post I propose a simple class to print using cout in a program that uses OpenMP.
Of course you can use a mutex to protect the cout stream, but I prefer to use a buffer before printing as I show in this example.
C++ – OpenMP – Sum reduction example (simple example)
Here is an example of a reduction on a variable to sum the result from each thread.
Click to continue…
C++ – OpenMP – Private, share, copy, contructor, etc. examples
In this post I show quickly what does your program copy when you are using “share” or “private” clause with openMP.
Click to continue…
C++ – Qt – SingleApplication – Single App Instance
How to create an application that allows only one instance at a time. Here is my solution inspired from : http://www.qtcentre.org/wiki/index.php?title=SingleApplication
EviMoX – Script to control your mouse and your keyboard on Windows
Many years ago, I developed a software to control/simulate the mouse/keyboard by creating some macro. This software was called Evimox (the first).
Today, I develop something more useful and easy to use: EviMoX. It is a freeware (donationware) to run scripts and control your computer very easily.
It can also be a fun way to use programming if you are new to this.
C++ – Qt, contextmenu windows, Right click on image shortcut
In my freeware CliMage (used to resize image) you can right click on images to send images to my software. To do that I put some line in the windows registry. Here is the code.
C++ – Use Excel from c++ (Qt) ActiveX
A quick post to show you how to use Excel from C++.
Click to continue…
C++ – Tracking/Debuging tools, generate xml from trace
Last post about development for Brainable for a long time. In this post, I present a part of the library used to generate xml report to track program actions.
It consists on basic classes and macro. If you finally do not use the debug class, the macro makes the lib transparent.
Click to continue…
C++ – Custom Hash container, fast & portable
After Vector, List & Array here is the Hash container for Brainable.
Click to continue…
C++ – Vector container, Fast light and portable
Here is the source of our BVector for the Brainable framework.
