Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Which is best online source to understand in depth data structure(with exercises ) in c++?
Posted

A good starting point is www.cplusplus.com[^]. There is also a tutorial section[^].

If you refer to the C/C++ struct type by "data structures":
In C++ structures are similar to classes with all members being public.
 
Share this answer
 
Comments
the_beginner 7-Sep-15 8:09am    
i was looking for linked list, stack, queue, tree and graphs actually
Jochen Arndt 7-Sep-15 8:18am    
I'm sorry but that was not clear from your question.

However, there is no "best" source (besides CodeProject off course). I suggest to focus on one topic at time and just search for it (e.g. "c++ linked list tutorial"). Just have a look on the results and you might find one that is best for you.
hi,
can not tell about exercises but if you are looking for implementation code then please visit:

sanfoundry.com/cpp-programming-examples-data-structures/[^]

bogotobogo.com/Algorithms/algorithms.php[^]

These might not be the 'BEST' but the provided code generally works.
Plus you can try variations on your own. Also there are too many types of trees and graphs. So you will have to search more for their specific implementations.

The code of 'boost' library is a great demo of how data structures can be implemented but its some what difficult to understand for beginners.

heres what i did :: for the explanation and exercises i followed a book :
Data Structures using C++ by DS Malik[^]

hope this helps !!
 
Share this answer
 
Comments
the_beginner 7-Sep-15 8:44am    
Thanks, thats a lot of content..
sonulohani 7-Sep-15 8:53am    
That helps me a lot. Please give 5 stars rating to this answer.
chandanadhikari 7-Sep-15 8:55am    
thanks !
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900