Re: buggy?

Discussion in 'C++' started by michael.j.smith@gmail.com, May 14, 2012.

  1. Guest

    It is difficult to say anything about bugs as the code is clearly incomplete and would not compile.

    class Play does not have a constructor, so we don't know what it does with the CXMLElement * pointer.

    The method play_list.add_item() passes its parameter by value, i.e. makes a copy. That might be OK, but at first glance it looks suspicious.

    Post some code that compiles, if possible. Also, tell us why do you think it might be buggy? Are you seeing particular problems, or are you just asking for a code review?
     
    , May 14, 2012
    #1
    1. Advertising

  2. bob Guest

    On Monday, May 14, 2012 3:09:10 AM UTC-5, wrote:
    > It is difficult to say anything about bugs as the code is clearly incomplete and would not compile.
    >
    > class Play does not have a constructor, so we don't know what it does with the CXMLElement * pointer.
    >
    > The method play_list.add_item() passes its parameter by value, i.e. makes a copy. That might be OK, but at first glance it looks suspicious.
    >
    > Post some code that compiles, if possible. Also, tell us why do you think it might be buggy? Are you seeing particular problems, or are you just asking for a code review?


    I've thought about it, and I think the code is okay. I think the bugs were hiding elsewhere.

    Thanks.
     
    bob, May 14, 2012
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Rob Dob

    VS2005 C# is very BUGGY, please hlp

    Rob Dob, Nov 27, 2005, in forum: ASP .Net
    Replies:
    10
    Views:
    3,418
    Christopher Reed
    Dec 7, 2005
  2. Elliot Rodriguez

    ASP.NET and VERY buggy VS.NET 2003

    Elliot Rodriguez, Feb 3, 2006, in forum: ASP .Net
    Replies:
    9
    Views:
    386
    Terry Burns
    Feb 4, 2006
  3. Sebastian Millies

    BeanInfo in JDK1.4.2_02 buggy

    Sebastian Millies, May 11, 2004, in forum: Java
    Replies:
    1
    Views:
    691
    Sebastian Millies
    May 11, 2004
  4. Markus Dehmann
    Replies:
    9
    Views:
    421
    Roedy Green
    Oct 8, 2005
  5. Thomas Hawtin
    Replies:
    2
    Views:
    449
    Patricia Shanahan
    Apr 6, 2006
Loading...

Share This Page