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. ???

???

Scheduled Pinned Locked Moved C / C++ / MFC
questioncomdata-structurestoolsperformance
42 Posts 10 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.
  • T ThatsAlok

    A_Laxman wrote:

    In case of java there is special garbage collecter for deallocation of the memory during run time

    Sorry for Sounding Rude, this is not JAVA forum and C++ doesn't have Inbuild Garbage Collector!

    A_Laxman wrote:

    So its better that when you allocates memory inside the function then before returning allocated memory must deallocate. :)

    Sometime its necessaey to allocate the Memory inside Function and Deallocated at Calling side, its wholly on design!.

    "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

    cheers, Alok Gupta VC Forum Q&A :- I/ IV

    L Offline
    L Offline
    Laxman Auti
    wrote on last edited by
    #20

    Yaa Alok, Agreed ,even C# also provides Garbage Collector :) Knock out 'T' from CAN'T , You 'CAN' if you think you 'CAN' :cool:

    T 1 Reply Last reply
    0
    • N Nibu babu thomas

      ThatsAlok wrote:

      Don't you know about Tox?

      Is it little toxie?:~ If so what has he got to do with this!!:~


      Nibu thomas Software Developer Faqs by Michael dunn

      T Offline
      T Offline
      ThatsAlok
      wrote on last edited by
      #21

      Nibu thomas wrote:

      Is it little toxie?:~

      Don't say that, now little Toxie is CodeProject MVP.

      Nibu thomas wrote:

      If so what has he got to do with this!!:~

      I can't quote that in public:), every body that common to forum knows, what i intended to say!

      "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

      cheers, Alok Gupta VC Forum Q&A :- I/ IV

      E N 2 Replies Last reply
      0
      • R Rage

        ThatsAlok wrote:

        Control you Anger Vunic!...

        Glad I am not the one surprised by this thread ! Never thought Vunic could "post" like that.

        ThatsAlok wrote:

        lets Tox to do the work

        :laugh: :jig: ~RaGE();

        E Offline
        E Offline
        Eytukan
        wrote on last edited by
        #22

        I'm really sorry guys, I've never been so rude before. But this guys is :eek:.. just watch out his posts in the lounge or SB. You'll know about him.


        --[V]--

        [My Current Status]

        1 Reply Last reply
        0
        • T ThatsAlok

          Nibu thomas wrote:

          Is it little toxie?:~

          Don't say that, now little Toxie is CodeProject MVP.

          Nibu thomas wrote:

          If so what has he got to do with this!!:~

          I can't quote that in public:), every body that common to forum knows, what i intended to say!

          "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

          cheers, Alok Gupta VC Forum Q&A :- I/ IV

          E Offline
          E Offline
          Eytukan
          wrote on last edited by
          #23

          :laugh: :laugh: :laugh:, this made me cool down :beer: , thanks dear.


          --[V]--

          [My Current Status]

          1 Reply Last reply
          0
          • L Laxman Auti

            Yaa Alok, Agreed ,even C# also provides Garbage Collector :) Knock out 'T' from CAN'T , You 'CAN' if you think you 'CAN' :cool:

            T Offline
            T Offline
            ThatsAlok
            wrote on last edited by
            #24

            A_Laxman wrote:

            even C# also provides Garbage Collecto

            yeap, but C++ don't have one:)

            "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

            cheers, Alok Gupta VC Forum Q&A :- I/ IV

            L 1 Reply Last reply
            0
            • N Nibu babu thomas

              I had to give you a 1 for that.:sigh:


              Nibu thomas Software Developer Faqs by Michael dunn

              E Offline
              E Offline
              Eytukan
              wrote on last edited by
              #25

              Its ok no problem, I give it back to you. ;P. LOL :-D


              --[V]--

              [My Current Status]

              T 1 Reply Last reply
              0
              • T ThatsAlok

                Nibu thomas wrote:

                Is it little toxie?:~

                Don't say that, now little Toxie is CodeProject MVP.

                Nibu thomas wrote:

                If so what has he got to do with this!!:~

                I can't quote that in public:), every body that common to forum knows, what i intended to say!

                "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

                cheers, Alok Gupta VC Forum Q&A :- I/ IV

                N Offline
                N Offline
                Nibu babu thomas
                wrote on last edited by
                #26

                ThatsAlok wrote:

                I can't quote that in public, every body that common to forum knows, what i intended to say!

                :~ :~ :~


                Nibu thomas Software Developer Faqs by Michael dunn

                E 1 Reply Last reply
                0
                • T ThatsAlok

                  A_Laxman wrote:

                  even C# also provides Garbage Collecto

                  yeap, but C++ don't have one:)

                  "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

                  cheers, Alok Gupta VC Forum Q&A :- I/ IV

                  L Offline
                  L Offline
                  Laxman Auti
                  wrote on last edited by
                  #27

                  Due to that C++ developers have to take care of Memory mangement/Leaks ;) Knock out 'T' from CAN'T , You 'CAN' if you think you 'CAN' :cool:

                  T 1 Reply Last reply
                  0
                  • P ppatel567

                    VuNic, Have you have simple common sense? Just write something sensible relevant to the matter of your post in the subject line than just "???" May be thats why you are just stuck with "C" :)) ppatel

                    S Offline
                    S Offline
                    Smith
                    wrote on last edited by
                    #28

                    ppatel567 wrote:

                    stuck with "C"

                    I hope ritchie is not reading it. Otherwise he'd take the senses outa you! :laugh: NULL

                    1 Reply Last reply
                    0
                    • E Eytukan

                      Its ok no problem, I give it back to you. ;P. LOL :-D


                      --[V]--

                      [My Current Status]

                      T Offline
                      T Offline
                      ThatsAlok
                      wrote on last edited by
                      #29

                      VuNic wrote:

                      I give it back to you. ;P. LOL :-D

                      When::)

                      "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

                      cheers, Alok Gupta VC Forum Q&A :- I/ IV

                      E 1 Reply Last reply
                      0
                      • L Laxman Auti

                        Due to that C++ developers have to take care of Memory mangement/Leaks ;) Knock out 'T' from CAN'T , You 'CAN' if you think you 'CAN' :cool:

                        T Offline
                        T Offline
                        ThatsAlok
                        wrote on last edited by
                        #30

                        A_Laxman wrote:

                        Due to that C++ developers have to take care of Memory mangement/Leaks

                        Yeap, but its month I have used new and delete, instead of that i use STL and wrapper classes as it increase Development speed and you don't need to worry about Memory leak due to same!

                        "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

                        cheers, Alok Gupta VC Forum Q&A :- I/ IV

                        L 1 Reply Last reply
                        0
                        • T ThatsAlok

                          VuNic wrote:

                          I give it back to you. ;P. LOL :-D

                          When::)

                          "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

                          cheers, Alok Gupta VC Forum Q&A :- I/ IV

                          E Offline
                          E Offline
                          Eytukan
                          wrote on last edited by
                          #31

                          ThatsAlok wrote:

                          When

                          Still I haven't given him, You wanna have it?? :-D :-D


                          --[V]--

                          [My Current Status]

                          T 1 Reply Last reply
                          0
                          • E Eytukan

                            ThatsAlok wrote:

                            When

                            Still I haven't given him, You wanna have it?? :-D :-D


                            --[V]--

                            [My Current Status]

                            T Offline
                            T Offline
                            ThatsAlok
                            wrote on last edited by
                            #32

                            VuNic wrote:

                            You wanna have it?

                            your Wish, Sir! :)

                            "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

                            cheers, Alok Gupta VC Forum Q&A :- I/ IV

                            E 1 Reply Last reply
                            0
                            • T ThatsAlok

                              VuNic wrote:

                              You wanna have it?

                              your Wish, Sir! :)

                              "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

                              cheers, Alok Gupta VC Forum Q&A :- I/ IV

                              E Offline
                              E Offline
                              Eytukan
                              wrote on last edited by
                              #33

                              I tried but it said, _"You cannot vote to yourself"_.. that certainly means putting it on my own head!. But still I dont forgot how you got the fear out of me about MFC/ATL. I'll never forget that ;). thanksI know you dont like "thanks". :-D


                              --[V]--

                              [My Current Status]

                              T 1 Reply Last reply
                              0
                              • T ThatsAlok

                                A_Laxman wrote:

                                Due to that C++ developers have to take care of Memory mangement/Leaks

                                Yeap, but its month I have used new and delete, instead of that i use STL and wrapper classes as it increase Development speed and you don't need to worry about Memory leak due to same!

                                "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

                                cheers, Alok Gupta VC Forum Q&A :- I/ IV

                                L Offline
                                L Offline
                                Laxman Auti
                                wrote on last edited by
                                #34

                                Cool, its all depends on developer's Choice what he/she prefer As well its regarding development where we have to use dynamic allocation for efficient programing and memory utilization Knock out 'T' from CAN'T , You 'CAN' if you think you 'CAN' :cool:

                                T 1 Reply Last reply
                                0
                                • N Nibu babu thomas

                                  ThatsAlok wrote:

                                  I can't quote that in public, every body that common to forum knows, what i intended to say!

                                  :~ :~ :~


                                  Nibu thomas Software Developer Faqs by Michael dunn

                                  E Offline
                                  E Offline
                                  Eytukan
                                  wrote on last edited by
                                  #35

                                  [silent]Tox is a gangster [/silent]


                                  --[V]--

                                  [My Current Status]

                                  T 1 Reply Last reply
                                  0
                                  • E Eytukan

                                    I tried but it said, _"You cannot vote to yourself"_.. that certainly means putting it on my own head!. But still I dont forgot how you got the fear out of me about MFC/ATL. I'll never forget that ;). thanksI know you dont like "thanks". :-D


                                    --[V]--

                                    [My Current Status]

                                    T Offline
                                    T Offline
                                    ThatsAlok
                                    wrote on last edited by
                                    #36

                                    VuNic wrote:

                                    that certainly means putting it on my own head!. But still I dont forgot how you got the fear out of me about MFC/ATL

                                    leave it man, Thats your Hardwork and your Desire to Learn,i have done nothing!

                                    "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

                                    cheers, Alok Gupta VC Forum Q&A :- I/ IV

                                    1 Reply Last reply
                                    0
                                    • L Laxman Auti

                                      Cool, its all depends on developer's Choice what he/she prefer As well its regarding development where we have to use dynamic allocation for efficient programing and memory utilization Knock out 'T' from CAN'T , You 'CAN' if you think you 'CAN' :cool:

                                      T Offline
                                      T Offline
                                      ThatsAlok
                                      wrote on last edited by
                                      #37

                                      A_Laxman wrote:

                                      As well its regarding development where we have to use dynamic allocation for efficient programing and memory utilization

                                      Isn't STL is effcient?

                                      "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

                                      cheers, Alok Gupta VC Forum Q&A :- I/ IV

                                      L 1 Reply Last reply
                                      0
                                      • T ThatsAlok

                                        A_Laxman wrote:

                                        As well its regarding development where we have to use dynamic allocation for efficient programing and memory utilization

                                        Isn't STL is effcient?

                                        "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

                                        cheers, Alok Gupta VC Forum Q&A :- I/ IV

                                        L Offline
                                        L Offline
                                        Laxman Auti
                                        wrote on last edited by
                                        #38

                                        I have not used STL more , so don't know which one more efficient Knock out 'T' from CAN'T , You 'CAN' if you think you 'CAN' :cool:

                                        T 1 Reply Last reply
                                        0
                                        • E Eytukan

                                          [silent]Tox is a gangster [/silent]


                                          --[V]--

                                          [My Current Status]

                                          T Offline
                                          T Offline
                                          ThatsAlok
                                          wrote on last edited by
                                          #39

                                          VuNic wrote:

                                          [silent]Tox is a gangster [/silent]

                                          Watch out, but Movie is Nice:)

                                          "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

                                          cheers, Alok Gupta VC Forum Q&A :- I/ IV

                                          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