1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

The Standard Template Library : The power of C++

Discussion in 'C++' started by Amit Ray, Jul 20, 2004.

  1. Amit Ray

    Amit Ray New Member

    Joined:
    Jul 12, 2004
    Messages:
    75
    Likes Received:
    4
    Trophy Points:
    0
    Occupation:
    Software Developer
    Home Page:
    Beginners in C++ will never know how easy life can get without a bit of knowledge of the Standard Template Library. Many of us who have a bit of grounding in Java realise how the Java API makes lives easier for Java programmers and how just a few lines of code achieves quite complex tasks.

    Well, the C++ counterpart can be it's Standard Template Library. It provides C++ programmers with a comprehensive set of efficiently implemented tools and facilities that can be used for most types of applications.

    The STL is the nucleus of the C++ standard library, providing the standard containers and algorithms, and the framework for their use and their extension with user-defined containers and algorithms

    STL is basically a C++ library of container classes, algorithms, and iterators; it provides many of the basic algorithms and data structures of computer science. The STL is a generic library, meaning that its components are heavily parameterized: almost every component in the STL is a template. You should make sure that you understand how templates work in C++ before you use the STL.

    Documentation :

    The following is an excellent Documentation of STL :
    http://www.sgi.com/tech/stl/table_of_contents.html


    Books about the STL and generic programming

    Effective STL: 50 Specific Ways to Improve Your Use of the Standard Template Library by Scott Meyers, Addison Wesley, 2001 ISBN 0-201-74962-9

    STL for C++ Programmers, by Leen Ammeraal. John Wiley, 1996. ISBN 0-471-97181-2.

    Generic Programming and the STL, by Matthew Austern. Addison-Wesley, 1998. ISBN 0-201-30956-4.

    Designing Components with the C++ STL, by Ulrich Breymann. Addison Wesley Longman, 1998. ISBN 0-201-17816-8.

    Data Structures in C++ Using the Standard Template Library, by Timothy Budd. Addison-Wesley, 1997.

    The STL Primer, by Graham Glass and Brett Schuchert. Prentice-Hall, 1996. ISBN 0134549767

    The C++ Standard Library - A Tutorial and Reference, by Nicolai Josuttis. Addison Wesley Longman, 1999. ISBN 0-201-37926-0. (English translation of Die C++-Standardbibliothek.)

    STL Tutorial and Reference Guide, by David Musser and Atul Saini. Addison-Wesley, 1996. ISBN 0-201-63398-1.

    C++ Programmer's Guide to the Standard Template Library, by Mark Nelson. IDG Books, 1995. ISBN 1-56884-314-3. (No longer in print.)

    The Standard Template Library, by P. J. Plauger, Alexander Stepanov, Meng Lee, and David Musser. Prentice-Hall. ISBN 0-13-437633-1. (forthcoming)

    Using the STL, by Robert Robson. Springer-Verlag, 1998.

    STL Programming from the Ground Up, by Herbert Schildt. Osborne McGraw-Hill, 1999.


    Other Resources:

    http://www.cs.rpi.edu/~wiseb/xrds/ovp2-3b.html
    http://www.cpsc.ucalgary.ca/~kremer/STL/1024x768/index.html

    Once you are into STL .... you will never look back ... :cool:

    Amit Ray. :)
     
    Last edited: Jul 20, 2004
  2. asadullah.ansari

    asadullah.ansari TechCake

    Joined:
    Jan 9, 2008
    Messages:
    356
    Likes Received:
    14
    Trophy Points:
    0
    Occupation:
    Developer
    Location:
    NOIDA
    You know you canny use STL in i960 processor due to PCR 4 level of compiler.
     
  3. Salem

    Salem New Member

    Joined:
    Nov 15, 2007
    Messages:
    133
    Likes Received:
    5
    Trophy Points:
    0
    Occupation:
    Please don't PM me for 1:1 support.
    > You know you canny use STL in i960 processor due to PCR 4 level of compiler.
    Do you have any references for this rather bold assertion?
    Also, which compiler / STL implementation are you talking about? There are many of each you know.
     
  4. asadullah.ansari

    asadullah.ansari TechCake

    Joined:
    Jan 9, 2008
    Messages:
    356
    Likes Received:
    14
    Trophy Points:
    0
    Occupation:
    Developer
    Location:
    NOIDA
    Passport software on Distibuted system means i am talking about In telecom one service is known as "GPRS" . for it One PCUSN node in which Many processor. some of processor are Intel's i960 or Motorola PowerPC and some control processor also. In these sytem operating sytem is VXWORKS . This operating sytem is of windriver company. This VxWorks is very specific to hardware( mainly for Embedded).

    This Real Time Passport Operating System does not support RTTI( Run time Type Identification) & Exception. It's not support of template also by compiler of PCR level 4.1 .
     
  5. asadullah.ansari

    asadullah.ansari TechCake

    Joined:
    Jan 9, 2008
    Messages:
    356
    Likes Received:
    14
    Trophy Points:
    0
    Occupation:
    Developer
    Location:
    NOIDA
    You know there a lot of products in telecom industries for BTS, BSC, NODE B, PCUSN etc.
     
  6. asadullah.ansari

    asadullah.ansari TechCake

    Joined:
    Jan 9, 2008
    Messages:
    356
    Likes Received:
    14
    Trophy Points:
    0
    Occupation:
    Developer
    Location:
    NOIDA
    Any software which is running on VxWorks operating system , Template, Exception, RTTI are not supported by VxWorks so we cannt use C++ or STL.( Now STL is part of C++ itself)
     

Share This Page