Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   C++ (http://www.programmingforums.org/forum15.html)
-   -   C++ Concepts (http://www.programmingforums.org/showthread.php?t=12060)

Soulstorm Nov 30th, 2006 3:28 AM

C++ Concepts
 
In C++ there are some concepts that I think a programmer should know about. I want to know about them, too.

Concepts that I have seen here on the forums are binary trees, stacks, queues, and many more. The problem is, that my books do not offer some information around these concepts, at least not about all of them. I would like to know if there is a good online reference about these things, that explains what they are, in what sorts of things they are commonly used, and possibly show some C++ examples of some of those things? Or perhaps, you could provide me with information on how to get started making basic classes or test programs using these concepts?

P.S. Yes, I know, that is the work of our proffessors in the University, but don't let me get started about the education system here in Greece-especially on programming lessons.

Jimbo Nov 30th, 2006 3:39 AM

What you listed are data structures, and can be studied/taught in almost any language. For the most part, if you google a particular data structure (or look it up on wikipedia) you can find a pretty good description of how it works, and perhaps an implementation.

Concepts that appear more specifically in C++ might be, say, the use of pointers, multiple inheritance, and templates (see also: Template metaprogramming). These are more language specific, but do show up in other languages as well. Again, you can google or otherwise look around and find information on them.

mackenga Dec 1st, 2006 4:25 PM

I seem to remember if you google for binary trees - especially AVL trees - there are some nice Java applets knocking around that will show you animations of inserts, removals, rebalancing of the tree, etc. Nifty.


All times are GMT -5. The time now is 7:45 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC