Search:

Type: Posts; User: johnggold

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Its very easy to analyse. I simply run my...

    Its very easy to analyse. I simply run my optimisation routine and store the start, count and SEED values in CSV format, then good old Excel does the analysis for me.

    That's how I got to to see...
  2. I do have to work on different platforms and...

    I do have to work on different platforms and always generate the same results.
  3. SEED is a global. It is externally set by a...

    SEED is a global.

    It is externally set by a routine that is itself repeatable, and is used in this way to offset any bias that the initial SEED value might have.

    However, when I am constantly...
  4. Pseudo Random Number Generator for Low Quantities

    I use the following code for a seeded pseudo random number generator, and it has worked well for many years.

    It is called millions of times per batch in an optimisation algorithm and because of...
  5. Tried that. Generated 5.1 for XP and 6.1 for...

    Tried that.

    Generated 5.1 for XP and 6.1 for Windows 7.

    Thanks.
  6. Microsoft V6 C++ Compiler detecting Windows 7

    I am having a problem detecting Windows 7 OS using my V6 compiler.
    No doubt this is age related, but practically, I only have one command change between Windows XP and Windows 7, so there is no...
  7. Replies
    4
    Views
    1,852

    Thanks for the prompt replies. The site will...

    Thanks for the prompt replies.

    The site will have to do without some of our new facilities until it upgrades. We still have loads of sites with old OS systems - NT4being common on machinery, with...
  8. Replies
    4
    Views
    1,852

    Microsoft C++ V10 and Windows 2000 OS

    Whilst upgrading a site from C++ V6 to V10 executables, we found that the V10 versions do not run.

    Normally, this would not be a problem - we would recommend an upgrade to a more recent OS, but...
  9. The problem with work is that you prioritise, and...

    The problem with work is that you prioritise, and this type of bug gets left for ages. Based on previous experience I knew that even with tools - and I have loads - it was going to take up to 2...
  10. I can see why you have never successfully...

    I can see why you have never successfully challenged Microsoft - you can't add up according to your mantra, and as you say yourself you don't care about the times you are wrong.

    I suspect 3% is on...
  11. I can see - Grumpy - that you didn't take the...

    I can see - Grumpy - that you didn't take the trouble to read the poem. I can see that you've not pursued issues with Microsoft. It's hard work, and even when you get the admission of a bug you then...
  12. Thank you nvoigt for a sensible answer that I can...

    Thank you nvoigt for a sensible answer that I can actually use.
  13. What a load of nonsense! First, I have two...

    What a load of nonsense!

    First, I have two Microsoft complier bugs confirmed by Microsoft. If you have ever tried this, there are a lot of hoops to jump through. So please don't tell me about...
  14. As I have already said I know how to debug with...

    As I have already said I know how to debug with log files several megabytes in size.

    V10 is definitely the one with the problem. When it deviates it generates no solution when one clearly exists....
  15. One of the problems with this type of forum is...

    One of the problems with this type of forum is thhat the original question seems to be lost. I know how to debug - it is slow and tedious. I did accept that with my original question.

    I am asking...
  16. I tried removing code optimisation levels. No...

    I tried removing code optimisation levels. No diiference. The difference only appears occasionally, maybe 1 in 100 uses, and I cannot find a pattern to the input data that points to a problem.
    ...
  17. Microsoft V6 and V10 C++ differences in integer calculations

    I have a large and complex heuristic algorithm code that can be compiled in V6 and V10 without a problem, except that every now and then the different versions deviate in the solution.

    All...
  18. Replies
    6
    Views
    2,966

    I don't think I explained my question fully. I...

    I don't think I explained my question fully.

    I have no problem with the maths for any specific polygon, and there are plenty of general C functions available for polygons with lines only, but I...
  19. Replies
    6
    Views
    2,966

    Area of a Polygon with Arcs

    Has anyone seen a C procedure for calculating the area of a polygon when one or more sides are arcs?
  20. Replies
    9
    Views
    9,026

    levmar c source

    levmar is the way to go.

    Attached is a ZIP of free C source. It also has TXT files with lots of references, info on how to use, links, etc.

    Hope this helps.

    For some reason ZIPs are not...
  21. Replies
    32
    Views
    11,396

    The issue occurs on a local drive, that's...

    The issue occurs on a local drive, that's correct, but the Windows 7 PC has to be connected to the network for the problem to arise in the combinations described.

    all of our software is multiuser...
  22. Replies
    32
    Views
    11,396

    Sorry. Forgot to say, debug aids were put in to...

    Sorry. Forgot to say, debug aids were put in to call fflush() - no failures found - then removed.
  23. Replies
    32
    Views
    11,396

    Your code sample is very similar to my actual...

    Your code sample is very similar to my actual code. Here are the open, close functions.



    FHANDLE G3createfile(BYTEP filename)
    {
    FILE *fp;

    RESULT2 = 0;
    FileErrSimple = _T("");
  24. Replies
    9
    Views
    9,026

    Have you any idea of the type of curve you need....

    Have you any idea of the type of curve you need. There are so many.

    I suggest you load your data into Excel. That offers a wide range of curve fitting tools. Use this to experiment, and you'll...
  25. Replies
    32
    Views
    11,396

    Apologies for the delay - been away at a wedding....

    Apologies for the delay - been away at a wedding.



    if (fflush(f) != 0)
    perror("fflush");

    if (fclose(f) != 0)
    perror("fclose");
Results 1 to 25 of 90
Page 1 of 4 1 2 3 4