Search:

Type: Posts; User: freevryheid

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    1,422

    Thanks Of course I agree with all that was...

    Thanks

    Of course I agree with all that was posted but perhaps I should have stated my intentions more clearly. I'm writing a small (< 100 lines) packing simulation program which is cpu intensive...
  2. Replies
    6
    Views
    1,422

    Benchmarking c compilers

    What would be an appropriate simple function to compare the relative execution speed of different c compilers. I've used the following, which shows clear differences between gcc, Pelles C and...
  3. Replies
    9
    Views
    1,022

    You probably want to change this line in your...

    You probably want to change this line in your process() function.



    total+10.84;



    If you're adding 10.84 to the total then
  4. Replies
    132
    Views
    276,809

    Sticky: Operating system: Linux / Win Compiler: gcc ...

    Operating system: Linux / Win
    Compiler: gcc
    Graphics Library: OpenGL & SDL
    Other Libraries:
    Description: Slider puzzles


    piczle.zip

    I'm new at this and the code will show it. Critics...
  5. Replies
    2
    Views
    1,671

    wow - that was easy. thx.

    wow - that was easy. thx.
  6. Replies
    2
    Views
    1,671

    Extract data from buffer

    Newbie question:

    I have a buffer of data generated by decompressing a zlib compressed FILE, that includes a file header, some array data and a bitmap image. Now that I have the buffer in memory,...
  7. Replies
    5
    Views
    1,525

    Thanks Mats That's what I suspected. I'm using...

    Thanks Mats

    That's what I suspected. I'm using gnu c, that didn't complain, even with -Wall and I don't have lint, which would probably have picked that up. This is going to be a long learning...
  8. Replies
    5
    Views
    1,525

    Array declaration

    Newbie questions:

    In the following code snippet I define an array pt with ntri*3 elements. ntri is a command line parameter and therefore not available at runtime. Surely the compiler cannot know...
Results 1 to 8 of 8