Standard C++ Library

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • June Lee

    Standard C++ Library

    is it true that Standard C++ Library is pretty much include functions
    similar to the following java packages???

    java.io
    java.lang
    java.util



    It seem to me the Standard C++ Library have headers to mainipulate
    string / characters, doing I/O, and data structure like Stack, Queue,
    HashMap, Vector, time, bitwise operation, exception, iterator on a
    collection ... etc

    which pretty similar to above "very core" java package
  • lbonafide@yahoo.com

    #2
    Re: Standard C++ Library

    On Apr 1, 7:49 pm, June Lee <iiu...@yahoo.c omwrote:
    is it true that Standard C++ Library is pretty much include functions
    similar to the following java packages???
    >
    java.io
    java.lang
    java.util
    >

    >
    It seem to me the Standard C++ Library have headers to mainipulate
    string / characters, doing I/O, and data structure like Stack, Queue,
    HashMap, Vector, time, bitwise operation, exception, iterator on a
    collection ... etc
    >
    which pretty similar to above "very core" java package
    Yes, C++ is a very portable general purpose language that runs on
    platforms ranging from super computers to embedded devices. Many of
    these platforms and applications which run on them do not require
    everything all the time, so it doesn't make sense to stuff GUI,
    networking, threading, etc. all into the standard library.

    Comment

    • June Lee

      #3
      Re: Standard C++ Library

      So there are 3 types of library / header in C++?

      CRT (C runtime library)
      Standard C++ Library
      Platform SDK for Visual C++

      where CRT is low level code like doing all the bit and bytes
      where Platform SDK is high level code doing all those Web Service,
      Security, Message Queue, UI / GUI, COM, HTTP / networking stuff?

      any other must have / used alot kind of library for C++ that
      programmer use alot besides the above 3 library?
      >Yes, C++ is a very portable general purpose language that runs on
      >platforms ranging from super computers to embedded devices. Many of
      >these platforms and applications which run on them do not require
      >everything all the time, so it doesn't make sense to stuff GUI,
      >networking, threading, etc. all into the standard library.

      Comment

      • Ian Collins

        #4
        Re: Standard C++ Library

        June Lee wrote:

        [Please don't top-post]
        >
        where CRT is low level code like doing all the bit and bytes
        where Platform SDK is high level code doing all those Web Service,
        Security, Message Queue, UI / GUI, COM, HTTP / networking stuff?
        >
        any other must have / used alot kind of library for C++ that
        programmer use alot besides the above 3 library?
        >
        >Yes, C++ is a very portable general purpose language that runs on
        >platforms ranging from super computers to embedded devices. Many of
        >these platforms and applications which run on them do not require
        >everything all the time, so it doesn't make sense to stuff GUI,
        >networking, threading, etc. all into the standard library.
        So there are 3 types of library / header in C++?
        >
        CRT (C runtime library)
        Standard C++ Library
        Platform SDK for Visual C++
        No, there's the C++ standard library, which includes the C standard library.

        Anything else is platform specific.

        There are several cross-platform libraries that are in widespread use,
        boot being one.

        --
        Ian Collins.

        Comment

        • Razii

          #5
          Re: Standard C++ Library

          On Tue, 01 Apr 2008 17:49:24 -0700, June Lee <iiuu66@yahoo.c omwrote:
          >It seem to me the Standard C++ Library have headers to mainipulate
          >string / characters, doing I/O, and data structure like Stack, Queue,
          >HashMap, Vector, time, bitwise operation, exception, iterator on a
          >collection ... etc
          Where is this HashMap container in the Standard C++ Library? Poor "Bo
          Persson" can't find it. Something he needs to speed up the word
          counting benchmark, which for now is more than 2 times slower.

          Comment

          • Anand Hariharan

            #6
            Re: Standard C++ Library

            On Wed, 02 Apr 2008 14:20:00 +1300, Ian Collins wrote:
            June Lee wrote:
            >
            [Please don't top-post]
            >
            (...)
            >So there are 3 types of library / header in C++?
            >>
            >CRT (C runtime library)
            >Standard C++ Library
            >Platform SDK for Visual C++
            >
            No, there's the C++ standard library, which includes the C standard library.
            >
            Anything else is platform specific.
            >
            There are several cross-platform libraries that are in widespread use,
            boot being one.
            >
            To the OP -

            Ian meant "... widespread use, /boost/ being one." (cf. www.boost.org)

            - Anand


            --
            ROT-13 email address to reply

            Comment

            • lbonafide@yahoo.com

              #7
              Re: Standard C++ Library

              On Apr 1, 10:25 pm, Razii <DONTwhatever.. .@hotmail.comwr ote:
              On Tue, 01 Apr 2008 17:49:24 -0700, June Lee <iiu...@yahoo.c omwrote:
              It seem to me the Standard C++ Library have headers to mainipulate
              string / characters, doing I/O, and data structure like Stack, Queue,
              HashMap, Vector, time, bitwise operation, exception, iterator on a
              collection ... etc
              >
              Where is this HashMap container in the Standard C++ Library? Poor "Bo
              Persson" can't find it. Something he needs to speed up the word
              counting benchmark, which for now is more than 2 times slower.
              What are you babbling about?

              Comment

              • Ian Collins

                #8
                Re: Standard C++ Library

                Anand Hariharan wrote:
                On Wed, 02 Apr 2008 14:20:00 +1300, Ian Collins wrote:
                >
                >June Lee wrote:
                >>
                >[Please don't top-post]
                >>
                (...)
                >>So there are 3 types of library / header in C++?
                >>>
                >>CRT (C runtime library)
                >>Standard C++ Library
                >>Platform SDK for Visual C++
                >No, there's the C++ standard library, which includes the C standard library.
                >>
                >Anything else is platform specific.
                >>
                >There are several cross-platform libraries that are in widespread use,
                >boot being one.
                >>
                >
                To the OP -
                >
                Ian meant "... widespread use, /boost/ being one." (cf. www.boost.org)
                >
                :)

                --
                Ian Collins.

                Comment

                • Razii

                  #9
                  Re: Standard C++ Library

                  On Tue, 1 Apr 2008 20:53:36 -0700 (PDT), lbonafide@yahoo .com wrote:

                  >What are you babbling about?
                  :)

                  Where is the HashMap container in c++ standard library?

                  Got it this time?

                  It makes a big difference in speed if you use std::map vs HashMap in
                  some situations. So where is the HashMap?


                  Comment

                  • lbonafide@yahoo.com

                    #10
                    Re: Standard C++ Library

                    On Apr 2, 12:16 am, Razii <DONTwhatever.. .@hotmail.comwr ote:
                    On Tue, 1 Apr 2008 20:53:36 -0700 (PDT), lbonaf...@yahoo .com wrote:
                    What are you babbling about?
                    >
                    :)
                    >
                    Where is the HashMap container in c++ standard library?
                    >
                    Got it this time?
                    >
                    It makes a big difference in speed if you use std::map vs HashMap in
                    some situations. So where is the HashMap?
                    Two questions: Why did you troll this thread? Have you ever written
                    a piece of production software in your life?

                    Comment

                    • Razii

                      #11
                      Re: Standard C++ Library

                      On Wed, 2 Apr 2008 04:47:50 -0700 (PDT), lbonafide@yahoo .com wrote:
                      >Have you ever written
                      >a piece of production software in your life?
                      Nor did I ever claim that's what I do for living :)

                      Comment

                      • lbonafide@yahoo.com

                        #12
                        Re: Standard C++ Library

                        On Apr 2, 7:05 am, Razii <DONTwhatever.. .@hotmail.comwr ote:
                        On Wed, 2 Apr 2008 04:47:50 -0700 (PDT), lbonaf...@yahoo .com wrote:
                        Have you ever written
                        a piece of production software in your life?
                        >
                        Nor did I ever claim that's what I do for living :)
                        That's obvious, as you seem to be capable of toy programs only and
                        don't seem to understand the complexities of developing robust
                        software that performs well.

                        Why don't you include Python in your benchmarks? I'm sure Java and C+
                        + would beat the fool out of it, and yet it is used by Google,
                        YouTube, NASA, Industrial Light and Magic, and many other large
                        organizations to real production work. Just the same, you could burst
                        in their front doors waving your arms like a maniac telling them that
                        it is too slow. Maybe they'd listen to you. Maybe they'd call
                        security. I think it's worth a shot.

                        Comment

                        • Razii

                          #13
                          Re: Standard C++ Library

                          On Wed, 2 Apr 2008 05:22:22 -0700 (PDT), lbonafide@yahoo .com wrote:
                          >Why don't you include Python in your benchmarks?
                          Why don't you? Let me see a Python and Perl version.
                          >I'm sure Java and C+
                          >+ would beat the fool out of it, and yet it is used by Google,
                          >YouTube, NASA, Industrial Light and Magic, and many other large
                          >organization s to real production work.
                          I never claimed speed is everything, but that's the topic we have been
                          discussing, for fun obviously.
                          >Just the same, you could burst
                          >in their front doors waving your arms like a maniac telling them that
                          >it is too slow. Maybe they'd listen to you. Maybe they'd call
                          >security. I think it's worth a shot.
                          now that's funny :)

                          How come you have FIDE in your email?

                          Comment

                          • James Kanze

                            #14
                            Re: Standard C++ Library

                            On Apr 2, 3:20 am, Ian Collins <ian-n...@hotmail.co mwrote:
                            June Lee wrote:
                            where CRT is low level code like doing all the bit and bytes
                            where Platform SDK is high level code doing all those Web Service,
                            Security, Message Queue, UI / GUI, COM, HTTP / networking stuff?
                            any other must have / used alot kind of library for C++ that
                            programmer use alot besides the above 3 library?
                            Yes, C++ is a very portable general purpose language that runs on
                            platforms ranging from super computers to embedded devices. Many of
                            these platforms and applications which run on them do not require
                            everything all the time, so it doesn't make sense to stuff GUI,
                            networking, threading, etc. all into the standard library.
                            So there are 3 types of library / header in C++?
                            CRT (C runtime library)
                            Standard C++ Library
                            Platform SDK for Visual C++
                            No, there's the C++ standard library, which includes the C
                            standard library.
                            Anything else is platform specific.
                            There are several cross-platform libraries that are in
                            widespread use, boot being one.
                            So which is it: anything else is platform specific, or there are
                            several cross-platform libraries? And I'm pretty sure you mean
                            Boost, not boot. (Not that that's the only cross-platform
                            library around.)

                            --
                            James Kanze (GABI Software) email:james.kan ze@gmail.com
                            Conseils en informatique orientée objet/
                            Beratung in objektorientier ter Datenverarbeitu ng
                            9 place Sémard, 78210 St.-Cyr-l'École, France, +33 (0)1 30 23 00 34

                            Comment

                            • Default User

                              #15
                              Re: Standard C++ Library

                              Razii wrote:

                              Where is this HashMap container in the Standard C++ Library? Poor "Bo
                              Persson" can't find it. Something he needs to speed up the word
                              counting benchmark, which for now is more than 2 times slower.
                              *plonk*




                              Brian

                              Comment

                              Working...