Multithreaded programming C++ [closed] - c++

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am looking for a good book/article/reference on multithreaded programming in C++. I found few older threads where there are some recommendations. However, most of them are in Java. Does anyone know of anything strictly in C++?
Thanks in advance.

There's a book by manning called: C++ Concurrency in Action which looks very promising.
It should be available next month and it has a lot of C++ threading from how to create threads to advanced concurrency topic such as lock free collections (in C++!).

A nice video tutorial up to date with C++11 here MSDN. It's not for beginners and will only be helpful with a recent compiler.

An oldie but a goodie: O'Reilly's "Pthreads Programming" book. Examples are in C, which will work fine in a C++ program. If you're really looking for an OO approach, however, this probably won't cut it. I'd imagine there are more recent references but I found this to be a well written book when I read it years ago.

Related

Is "Accelerated C++: Practical Programming by Example" still current? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I need to learn C++. Because I like the book's concept and I can already program in several other languages I thought "Accelerated C++: Practical Programming by Example" would be the best choice. However, the book is over 12 years old. Is it still a good idea to pick it up or would I be missing too many important new features of the language?
It remains one of the best books around. It's based on C++98, but C++03 is more bug fixes than anything else, and most programmers can't use anything more recent anyway. As with most languages that have been around for awhile, recent evolutions can be thought of as either fine tuning, or additional features to handle new issues (like threading).
I read some C++ books, and i recomend C++ Primer.
The way the author teaches the language is very insterestig.
Besides its a "heavy" book, you can learn more deeply the language and how to avoid errors.

Introduction to SQL for C++ programmer [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm a C++ programmer who wants to expand his knowledge into SQL language because I'm dealing with QtSQL module and would like to understand it better.
I would like to find a gentle introduction to SQL language for a C/C++ programmer.
Can you suggest some reading or a particular tutorial?
See this question: https://stackoverflow.com/questions/31982/looking-for-a-good-book-to-learn-sql
the highest rated answer recommends 2 nice books for beginners.
Coming from C++ field doesn't make much difference in this case in my oppinion. Start from basic stuff and you'll be fine!
For a nice web tutorial you can also check this: http://www.w3schools.com/sql/default.asp
COMMENT: You should not ask for recomendations in SO (although judging by your reputation you are aware of the rules). There are already various answers for this question as it is too generic and subjective. Read some books and tutorials and come back with SQL coding questions ;-)

Are the MIT Introduction to C++ lecture notes any good? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I've been wondering if these lecture notes from an Introduction to C++ course are good material for me to learn the language.
Does this material contain any gross factual errors in it? Will I learn some concepts in a wrong way with them? Will I get any bad practices from it?
The original MIT Open Courseware C++ course was unfortunately of very low quality, full of factual errors. The next one, from the mid-term course a year later, was much improved. And judging from a cursory review of the first PDF you link to, the current stuff is good.
However, as #Muggen remarked, you should better get one of the well known C++ books such as one of the books in the Stack Overflow C++ book list, e.g. Accelerated C++.
A book is much more complete and dependable.

Good Book/Training material to learn multithreading in C/C++ [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am just a starter at using threads in my code. I use Boost threads usually.
But I don't think I have mastered this field yet.
I am looking for learning material specifically for advanced parallel programming. Could anybody suggest something.
There's an early access edition of C++ Concurrency in Action available at http://www.manning.com/williams/ He's very knowledgeable on the subject and AFAIK he's the author of boost threads and has also just released a version of std::thread conforming to the new c++0x standard.
I'm also reading Concurrent Programming on Windows by Joe Duffy which is a pretty good read so far: http://www.bluebytesoftware.com/books/winconc/winconc_book_resources.html
Update:
Also, see this link https://stackoverflow.com/questions/415994/boost-thread-tutorials/3951227#3951227
I think you should continue using Boosts threads, they will be usable on different OS's.
I haven't read any good books on multithreading, but you could take a pick (and preview) some at Google Books.

State of C++ Standard [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I haven't kept up lately with the C++ world. Exactly where do things stand these days regarding the standard?
Is TR1 adopted?
Is there a TR2?
How do these relate to C++0x? Are the subsumed?
Has a decision been reached on threading yet?
You can find an extensive article about the upcoming C++0x on wikipedia and the current state of C++ evolution here. It is also worth giving a look at the current GNU implementation in gcc
I'd recommend you to visit
http://www.open-std.org/jtc1/sc22/wg21/
The information you want is available at the site pvnsp directed you to. To synopsize my understanding
Yes, TR1 has been adopted and C++0x is expected to subsume nearly all of the standard.
There is a TR2, it's still in development.
As far as I know, there is no decision on threading. Here's a document from open-std.org that discusses the matter.