Problems to practice programming under linux [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 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

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.

Multithreading C++ literature for Beginners [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
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).

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.

C++: Where is a good place for sample C++ codes to be used by a teacher? [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 teacher of programming. For the C++ course, I need a good reference to provide educational example problems and their solutions. I know some popular problems but I like to see them all in a one place and choose between them.
Do you know some website to achieve this?
Accelerated C++ is your best bet.
editorializing note: I've gone through an enormous amount of intro C++ books. There is so much drek out there, it's mind-blowing. I think Accelerated C++ is pretty concise and lucid.
It has the disadvantage of being short, so it can't be used as monitor-lifting fodder.
I didn't know about it at the time and I went through piles of other books. Jesse Liberty's C++ in 24 hours was the most useful of the books I found when I was learning. Looking back on it, that's sort of surprising, given the X in Y hours reputation.
Trying to keep the line of a book, it's a great idea since, you all the examples will have the same line of, let's say logic. A great book, that help me out was written by H. M. Deitel, it has several programming books, and in my point o view, are very well explained.
You can't find better questions/examples targeted on understanding of C++ (including advanced) topics than Herb Sutter's Guru of the Week series (http://gotw.ca/publications/index.htm)

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.