c++ push back function

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zerobinary
    New Member
    • Aug 2007
    • 23

    #1

    c++ push back function

    sorry, but i can't find any info on push back function plz help
  • gpraghuram
    Recognized Expert Top Contributor
    • Mar 2007
    • 1275

    #2
    Originally posted by zerobinary
    sorry, but i can't find any info on push back function plz help
    Please try to add more information so that people out here can help u.
    U want help in which push_back function?

    Raghuram

    Comment

    • zerobinary
      New Member
      • Aug 2007
      • 23

      #3
      sorry i didn't know there is more than one push back function
      homework.push_b ack(x)
      hope this info will help
      sorry about the previous post

      Comment

      • weaknessforcats
        Recognized Expert Expert
        • Mar 2007
        • 9214

        #4
        This should be in the docs that come woth your compiler. Also try Google.

        Comment

        • zerobinary
          New Member
          • Aug 2007
          • 23

          #5
          docs for compiler ???
          All i want to know is what does it do.
          No need to push compiler to limit

          Comment

          • weaknessforcats
            Recognized Expert Expert
            • Mar 2007
            • 9214

            #6
            Yes. Part of becoming a good C++ developer is researching topics.

            I just did a Google on push_back and got 527,000 web pages.

            Nothing I can say will add to that volume of documentation.

            Comment

            • RRick
              Recognized Expert Contributor
              • Feb 2007
              • 463

              #7
              If this is a question from real code, take a look at the homework object. That will help to limit what is being looked at.

              The STL containers (vector, list, etc.) have a push_back method. This does exactly what you expect. It pushes an item to the rear or end of the object's list.

              Comment

              Working...