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

Thread: Sythetic Lights

  1. #1
    Join Date
    Oct 2006
    Posts
    65

    Sythetic Lights

    i wanna remove errors from attached project, plz help
    Attached Files Attached Files

  2. #2
    Join Date
    Oct 2005
    Location
    Seattle, WA U.S.A.
    Posts
    353

    Re: Sythetic Lights

    Boy, you sure keep your cards close to the vest ... you don't offer a lot of information.

    You've hit the Trifecta !

    1. You don't describe the problem(s) you're having.
    2. Aside from "//end of func" your code is unencumbered by comments.
    3. You don't seem to offer a sample binary file.

    Help me help you: please consider describing the problems you've encountered and/or provide a sample binary file.

    Best wishes

    Old Fool

  3. #3
    Join Date
    May 2007
    Posts
    1,546

    Re: Sythetic Lights

    Binaries are both useless and unsafe If there's a bug a description and the relevant code snippet should be plenty to diagnose the issue.
    www.monotorrent.com For all your .NET bittorrent needs

    NOTE: My code snippets are just snippets. They demonstrate an idea which can be adapted by you to solve your problem. They are not 100% complete and fully functional solutions equipped with error handling.

  4. #4
    Join Date
    Oct 2005
    Location
    Seattle, WA U.S.A.
    Posts
    353

    Re: Sythetic Lights

    Binaries are both useless and unsafe If there's a bug a description and the relevant code snippet should be plenty to diagnose the issue.


    yeah, I gotta admit that you make some good points, 'Fruit ....

    Who but a dunce would have any interest in knowing the format of the input file or the nature of the data contained therein ? One can (PERHAPS) divine that from analyzing the code or the intestines of a sheep slaughtered for the occasion .... which, incidentally, appears to be how you're going to have to divine a problem description, at least for the time being. I did not find a problem description in the posting, in the code, or as a note in the .zip file. Perhaps it's there and I missed it, but I sure didn't see one.

    Certainly one can determine from analysis what format the program EXPECTS the input file to be in ... but not necesssarily the actual format (which, in itself, could be the problem he speaks of - hence, the request that it be provided).

    As for me, I prefer to both analyze the code (and the format and nature of the program input), and, if at all possible, see the program run under the watchful eye of the debugger. I strongly believe in working with debuggers, and especially this World-Class debugger we are so fortunate to have in VS.

    Oh, and yeah, you will have to analyze the code or the sheep's intestines to determine the intent of the code. Admittedly I may have missed something, but the only comment I saw was "//end of func" several times over.

    So be my guest 'Fruit, have at it.

    Best wishes.

    bill
    Last edited by ThermoSight; March 21st, 2011 at 07:57 PM.

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