Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. a c++ code implimenting a single linked list

a c++ code implimenting a single linked list

Scheduled Pinned Locked Moved C / C++ / MFC
c++data-structures
12 Posts 8 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P phineas kimathi

    the program should;- create list search for a certain element within the list insert an element after and beginning delete element after and at the beggining

    L Offline
    L Offline
    Lost User
    wrote on last edited by
    #2

    If you are asking for a complete solution then you should read points 2 and 11 here[^]. If you just want suggestions about lists then try the standard library[^].

    One of these days I'm going to think of a really clever signature.

    L 1 Reply Last reply
    0
    • P phineas kimathi

      the program should;- create list search for a certain element within the list insert an element after and beginning delete element after and at the beggining

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #3

      phineas kimathi wrote:

      the program should;-

      You should at least try doing your homework yourself.

      Why is common sense not common? Never argue with an idiot. They will drag you down to their level where they are an expert. Sometimes it takes a lot of work to be lazy Please stand in front of my pistol, smile and wait for the flash - JSOP 2012

      1 Reply Last reply
      0
      • L Lost User

        If you are asking for a complete solution then you should read points 2 and 11 here[^]. If you just want suggestions about lists then try the standard library[^].

        One of these days I'm going to think of a really clever signature.

        L Offline
        L Offline
        lewax00
        wrote on last edited by
        #4

        I think you meant here[^]

        L 1 Reply Last reply
        0
        • L lewax00

          I think you meant here[^]

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #5

          Those pesky meeces :mad:

          One of these days I'm going to think of a really clever signature.

          1 Reply Last reply
          0
          • P phineas kimathi

            the program should;- create list search for a certain element within the list insert an element after and beginning delete element after and at the beggining

            C Offline
            C Offline
            Chris Losinger
            wrote on last edited by
            #6

            good luck!

            image processing toolkits | batch image processing

            1 Reply Last reply
            0
            • P phineas kimathi

              the program should;- create list search for a certain element within the list insert an element after and beginning delete element after and at the beggining

              J Offline
              J Offline
              jschell
              wrote on last edited by
              #7

              phineas kimathi wrote:

              the program should;-

              You should 1. Review your class notes 2. Review your assigned reading 3. In the above review anything about lists specifically. 4. Write some code based on the assignment. 5. Test it.

              1 Reply Last reply
              0
              • P phineas kimathi

                the program should;- create list search for a certain element within the list insert an element after and beginning delete element after and at the beggining

                S Offline
                S Offline
                Sunil P V
                wrote on last edited by
                #8

                Be crisp and clear.

                Sunil

                1 Reply Last reply
                0
                • P phineas kimathi

                  the program should;- create list search for a certain element within the list insert an element after and beginning delete element after and at the beggining

                  S Offline
                  S Offline
                  Software_Developer
                  wrote on last edited by
                  #9

                  Article here.

                  1 Reply Last reply
                  0
                  • P phineas kimathi

                    the program should;- create list search for a certain element within the list insert an element after and beginning delete element after and at the beggining

                    S Offline
                    S Offline
                    Stefan_Lang
                    wrote on last edited by
                    #10

                    Some good and well meant advice: What appears to be the quick and easy way now, i. e. copying the solution from any of the links provided here, is in fact the path of enduring pain: Copying does not teach you anything. When you're asked to do your next homework, you will not be prepared to do that either, because you are lacking the basic knowledge. You could of course repeatedly copy your homework from others, but that will just exacerbate the problem. As a result, you will eventually fail in the exams. The longer you wait to actually do your assignments yourself, the harder it will be to catch up on the lost knowledge. And the harder it will be to be motivated about it. OTOH, if you keep doing your homework and manage to solve it successfully yourself, that success will offer a sense of accomplishment that you'll never experience when copying other people's work. If you have truly a problem to arrive at the solution, write down what you did so far and where, exactly, you are stuck. We will gladly offer help to make you understand and solve the problem. But - in your own best interest - we will not simply post the full solution without further comment. Know that the only way to learn programming is practice! No amount of reading (or copying) can make up for the experience you gain from actually writing a program and seeing it work (or fail, more likely). You can not copy experience: only you can collect it!

                    J 1 Reply Last reply
                    0
                    • S Stefan_Lang

                      Some good and well meant advice: What appears to be the quick and easy way now, i. e. copying the solution from any of the links provided here, is in fact the path of enduring pain: Copying does not teach you anything. When you're asked to do your next homework, you will not be prepared to do that either, because you are lacking the basic knowledge. You could of course repeatedly copy your homework from others, but that will just exacerbate the problem. As a result, you will eventually fail in the exams. The longer you wait to actually do your assignments yourself, the harder it will be to catch up on the lost knowledge. And the harder it will be to be motivated about it. OTOH, if you keep doing your homework and manage to solve it successfully yourself, that success will offer a sense of accomplishment that you'll never experience when copying other people's work. If you have truly a problem to arrive at the solution, write down what you did so far and where, exactly, you are stuck. We will gladly offer help to make you understand and solve the problem. But - in your own best interest - we will not simply post the full solution without further comment. Know that the only way to learn programming is practice! No amount of reading (or copying) can make up for the experience you gain from actually writing a program and seeing it work (or fail, more likely). You can not copy experience: only you can collect it!

                      J Offline
                      J Offline
                      jschell
                      wrote on last edited by
                      #11

                      You forgot to mention that just copying something doesn't insure that it is in fact correct.

                      S 1 Reply Last reply
                      0
                      • J jschell

                        You forgot to mention that just copying something doesn't insure that it is in fact correct.

                        S Offline
                        S Offline
                        Stefan_Lang
                        wrote on last edited by
                        #12

                        Indeed - in my time as a tutor at university I found that to be the easiest means of detecting when people were copying their homework from others ;)

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups