i want to learn stl c++ programing .
but i actully dont know what stl really is (?)
The STL or "Standard Template Library" is a collection of template
classes and functions. For me, it helps most to shift my focus in
application programmers from dealing with low-level implementation
details to addressing the actual problem I need to solve. The STL
covers containers (vectors, lists, sets, associative maps, ...),
character strings, algorithms (sorting, searching, aggregation, ...),
and more. It is part of the C++ standard, so anything you code using
the defined interface of the STL works with any standard complying C++
compiler.
if any one know a good text book for it plz send it links for me .
I would like to recommend you the excellent introduction to the STL by
Stephan T. Lavavej, available as a ten-part video lecture here:
http://channel9.msdn.com/Shows/Going+Deep/C9-Lectures-Introduction-to-STL-with-Stephan-T-Lavavej
Aside from being a real expert on the STL, Mr. Lavavej is a hard to
find talent at teaching. I personally enjoy watching his lectures a
lot. It is a wonderful contrast to these horrible "dialog-style" shows
(Tom: "We have this really cool thing here, that will make everybody's
life just perfect, what do you think, Bob?" --- Bob: "Yeah, Tom, this
is so great...", over and over, with no actual information conveyed.)
Since he is an Microsoft employee, and Microsoft is sponsoring the
lectures, the presentation is somewhat centered around Visual C++
2010. However, any examples and code shown do not depend on the
Windows operating system or Microsoft IDEs, and should work on Linux /
g++ or other standard compliant compilers without, or minimal change.
Plus, watching the show is free, so I won't complain on some product
placement commercial.
and i want to code one of it function in c programing which one do you
think is good for me (to code it) as i am new at this . . .
I'd recommend to start a project around a problem from *your* personal
life; something where you feel expert at, or have a hobby interest
anyway. Do you collect bottle caps? Go on, create a program that keeps
track of your 10,000+ exhibits and growing collection. Do you do some
team sports? How about a match making or tournament administration
software? Do you work at a pizza restaurant? Make a pizza order by
internet software. You have an old pocket calculator you used at
school? Create a simulation of it. There is plenty of ideas from your
environment, so you don't need to look out for projects thousands of
programmers solved already ad nauseam. I'd find it very hard to come
up with a practical problem where the STL would not be of use.
just my $.02,
MiB.