Multithreading C++ literature for Beginners [closed] - c++

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I want to learn Multithreading in C++ and I'm therefore on the hunt for some good literature on the subject containing lots of code and examples. I've found several books online but I was hoping that someone could give a tip on books that you've read yourself and found beneficial for your learning.
Thanks in advance for any reply on the subject

Learn about concurrency and about C++ separately. This will let you better understand what is essential and what is there because either cannot be done differently in C++ or because can be done much better in C++. I may cast downvotes but for learning concurrency as the beginner you will hardly find anything as handy as Java Tutorial from Sun. Even well known and respected Posix threads have been modeled after Solaris threads (which Sun has designed).

Related

Good books on OCaml [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
What are the good books on OCaml, which considered as a must read for OCaml developers on all levels?
I came across "Real World OCaml" by Yaron Minsky and Co. (https://realworldocaml.org/). It is quite a good introduction into the language, although biased towards Core library and its features. And so far I could find nothing more descriptive.
Start at this page. I would suggest to read Jason Hickey's book... and all others in order. There is also a new book OCaml from the very begining, although I haven't read it myself (only few chapters), I would recommend it.

Clojure projects worth reading? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
The best way to learn a new language is reading well structured and well documented projects that use the language constructions in the proper way.
What are the best clojure repos to read and learn from them?
Clojure itself.
Clojure in Small
Pieces:
Clojure 1.2 as a literate program.
There's lots of advice here and here.
Thereafter, I would follow your nose. Find the stuff you are interested in: if it's good, enjoy it. If it's bad, do it better!
Be warned: Clojure is seriously addictive.
I often read https://github.com/aphyr (in particular https://github.com/aphyr/riemann). He writes a lot of Clojure and it's very often well documented and organized.
Others I crib from liberally:
https://github.com/ztellman
https://github.com/ring-clojure/ring

Sites to practice programming questions [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am a beginner programmer and I code in java and c++. I am planning to take part in my college's tech fest where they ask programming questions of different difficulty levels.
I would like to know the name of some sites where I can practice programming questions, starting from easy level and advancing to more difficult levels.
Also, is there a specific way according to which I should prepare for the tech fest?
CPP Quiz is a rather well-known and well-rated site I know of.
It doesn't have an awful lot of questions, but those that are there are nice and require really a lot of thinking and knowledge about the language.
However, CppQuiz is more oriented towards, well, quiz questions. If you want to simply learn the language, trick questions like you mentioned rarely mean much. It's more about knowing your way around the concepts, rather than ability to say "what will that program output" for an arbitrary piece of obfuscated code.

Problems to practice programming under linux [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I have started using/learning linux few days back. I am reading the book "Advanced Linux Programming". It is a very nice book but it does not contain exercises to practice.
I am not able to make problems on my own.
Can you please share a link or a book where I can get problems to practice C/C++ under Linux?
EDIT: I was looking for problems related to multithreading,interprocess communication and synchronization.
I know C and C++. I have been working on windows and now I want to learn Linux.
thanks
http://www.doc.ic.ac.uk/~wjk/C++Intro/RobMillerE1.html
http://en.wikibooks.org/wiki/C++_Programming/Exercises/Iterations
http://www.cprogramming.com/challenge.html
Hope this is what you are looking for.
Several books have exercises at the end of each chapter. Most which have been recommended on StackOverflow do. There are also challenges and exercises online, but I think it is for the intermediates.
Btw googling "c++ programming exercises beginners" give tons of results, even the one Nader mentionned. Also check out codechef easy section

Are there any good beginner tutorials for threads in windows? C++ [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Looking for a good site or book that explains windows threads, preferably for a beginner. Maybe has a example program to run, etc....
You want Chapter 20 of Programming Windows by Charles Petzold "Multitasking and Multithreading".
It also covers related things like synchronization, and events.
This book is a classic, and probably one of the best ways to get a very good understanding of how Windows Win32 programming works with C++.
Otherwise you can start on this MSDN pages for CreateThread.
For a more portable solution, boost threads are another way to go as well. Combined with boost::bind and several boost synchronization objects, it makes for a very powerful threading library.