Templates - Exercises [closed] - c++

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
As I mentioned in my yesterday's post, I'm trying to teach myself templates from the book: Templates: The Complete Guide. And although I'm finding this book very nicely presented and material there is explained really well there are no exercises attached after each chapter to test your knowledge, like it is in The C++ Language by B.S for example and had done all exercises from "The C++" I really feel benefit from doing them. So what I'm asking today is: Does anyone know where can I get exercises with templates.

C++ Template Metaprogramming; Concepts, Tools, and Techniques from Boost and beyond - this book really rocks.

Thinking in C++ by Bruce Eckel

Related

CPP Socket Programming [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I am new to C++. I want to study socket programming. firstly like a simple chat with a client/server. I don't know where to start and how to start.
Is there any good guides and example programs for beginners. I searched a lot of things in net and its too difficult to understand.
Boost Asio isn't that hard to learn. Take time to read its tutorials and examples.
i found http://beej.us/guide/bgnet/ great easy understand and get into programming mode faster

Inheritance anomaly in C++ and concurrent programming [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am reading about concurrent programming. Here it is mentioned about inheritance anomaly problem.
Inheritance anomaly is mentioned in following article on Active object pattern on page 4.
http://www.cs.wustl.edu/~schmidt/PDF/Act-Obj.pdf
Can any one mention what is inheritance anomaly problem?
Thanks!
The issue seems to occur from back in 1993 when they thought that inheritance for code re-use was a good idea.
It usually isn't. It wasn't then but they thought it was.
Inheritance should be for polymorphic behaviour. Templates or generics or composition should be used for code-reuse.
The main article seems to be this one

Advice on Creating a DBMS [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I am looking at ways of creating my own DBMS from scratch in C++ (just for fun and educational purposes). I am stuck with the place to start it. Can anybody tell me how I should begin (design) this. Will postgresql code and the architecture be of any help?
Thanks in advance.
Have a look at SQLite and its doccumentation. it might be a good point to start.
Start by reading "Transaction Processing: Concepts & Techniques" by Gray and Reuter. It goes through all the major components of a DBMS. Following the references is very interesting.
It is almost 20 years old now, but still very relevant.

C++ Practice Programs [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I am currently learning C++ and now understand things like classes and pointers, etc.
Anyone have an idea of what programs I should practice writing when teaching myself C++?
Try reading books that have exercises at the end of every chapter and try making them.
You can check Thinking in C++. The books are available online and they have exercises at the end of each chapter.

programming in online judge like spoj ,topcoder [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
i am new to programming.but i want to do programming? i want to ask that how to interpret the question in spoj or other online judge ? i have stated reading different algorithms and books based on that but unable to solve any problem please guide me .please
i am using c language.
most of the question in spoj and other online judge uses dynamic programming approach but after reading whole dynamic programming i am not able to figure out the problem stated or not able to start.please help
Have you tried any of the problems at the UVa Online Judge?
There's a good companion book called Programming Challenges that shows how to submit code to the judge and outlines over 100 of the problems in 14 different categories (DP is only one of them).