The current C++ standard does not support threads, so you will either have to pick a nonstandard implementation or wait until the new standard is complete.
Ya C++0x specification does support threads.
There are google tech video that illustrating how to work with C++0x threads.Find it out.
Let us know your development environment then we can help.In linux use pthread library.
pthread means POSIX (portable operating system interface).POSIX is simple and small.
why I like POSIX very much. https://computing.llnl.gov/tutorials/pthreads/
As Duki suggested, use the Boost Thread library. You will have to install boost. This library in cross-platform and quite easy to use, and includes all the synchronization objects you can dream of. The C++0x standard will include a thread library, and that thread library will be directly taken from the Boost Thread library (Boost is the anti-chamber for the C++ standard libraries). So I would suggest you get acquainted with that library since, once the standard is out, it will be mostly the same (maybe only a subset of the Boost one), only the namespace will change from boost:: to std::.
I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...
Hi. I have a form with list box : lst_product, datagridview : grd_order and button: btn_addline. lst_product has a list of product ids selected from database (MS Acess 2013) , grd_order is by default empty except for 2 headers and btn_addline adds rows to grd_order.