CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 15 of 56

Thread: Pseudopointers

Threaded View

  1. #19
    Join Date
    Feb 2013
    Posts
    27

    Re: Pseudopointers

    Quote Originally Posted by GCDEF View Post
    I was talking about your code, and it's been explained why it's buggy a number of times. Which part are you unclear on? What more needs to be said so that you can understand? Undefined behavior is just that. It may work the way you want it to, but it's not guaranteed, and writing code based on implementation specific undefined behavior is a horrible practice, and not one you should be bragging about.
    Alright, but why you tell me that again? I tell you the reason.
    Because Paul came here with ANOTHER code and that brought again the discussion about the un-guaranteed behaviour. So if you are following the thread correctly you shouldn't be talking about the first code again, because that was already clear. We are now talking about the second code, which is Paul's.
    So don't mix the first code with the second. We are now talking about the second code, and the following versions (fixes) of it. We shouldn't get back to the first post and comment again on the first code, because was already clear and that was like 3 pages ago.


    Also, let me tell something. Since Paul posted his code, which doesn't work for him and for anybody, then I fixed it to work for me and for the ONLINE C++ COMPILER. but obviously, I had to make changes, so I really don't get why you tell me "you have changed it!"?

    if I wouldn't have changed it then it wouldn't be working! because the code wasn't working in the first place. Is just about logic

    EDIT:
    don't escape from commenting my pictures
    Last edited by eightyfive; March 22nd, 2013 at 09:17 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured