Search:

Type: Posts; User: Dude22

Search: Search took 0.02 seconds.

  1. Replies
    21
    Views
    25,703

    It works

    IT WORKS!!!! PUTTING THE RESET OUTSIDE OF THE LOOP MADE IT WORK!!!!!!!!!!!!!!!!!!!!!!!

    Thanks, everyone so much for all the help you have given me!!!

    Now, If you could take a look at my other...
  2. Replies
    21
    Views
    25,703

    Oh.... I shouldn't be resetting the buffer...

    Oh.... I shouldn't be resetting the buffer counter should I..?..?... I have removed the reset, and it is even closer to working (so I assume I made the correct change)

    Now when I input a very...
  3. Replies
    21
    Views
    25,703

    Whoops, forgot to add that on the last post......

    Whoops, forgot to add that on the last post... here it is:


    /****************************************************************************
    * resize.c
    *
    * Computer Science 50
    * Problem Set...
  4. Replies
    21
    Views
    25,703

    Any Ideas as to what might be wrong???

    Any Ideas as to what might be wrong???
  5. Replies
    21
    Views
    25,703

    Oh.... Ok, I have now reset times written back to...

    Oh.... Ok, I have now reset times written back to 0 after the for loop that it is contained in. That seems to fix the seg fault, as I can now run it with any image with any factor (at-least any...
  6. Replies
    21
    Views
    25,703

    Oh.... I did that wrong. Ok, I think I have...

    Oh.... I did that wrong. Ok, I think I have finally fixed that part.




    I am not quite sure what you mean, as far as I know I should be using the new width, which I do.



    After making the...
  7. Replies
    21
    Views
    25,703

    Ok, I spent a lot of time going through the...

    Ok, I spent a lot of time going through the program, and have got it a LOT closer to working. It is now at the point where it outputs an image without saying bogus header file.

    It also, is a lot...
  8. Replies
    21
    Views
    25,703

    Oh, that makes sense, I have now changed it to...

    Oh, that makes sense, I have now changed it to something I think should work.



    Sorry, I actually still don't get what you are saying, are you pointing out a problem... or asking a question???
  9. Replies
    21
    Views
    25,703

    I didn't use k because it us used later in the...

    I didn't use k because it us used later in the program, will using j, or any unused name for the int cause any problems???



    Sorry, I don't quite understand what you are getting at...
  10. Replies
    21
    Views
    25,703

    Close, but not quite

    Ok, I have made the recommended changes and the program now compiles and runs with no problems!!! Only the images that it outputs wont open due to "BMP image has bogus header data"

    I am not sure...
  11. Replies
    21
    Views
    25,703

    Help with a program to resize an image

    Hi everyone,

    I am working on a HOMEWORK assignment to resize an image... As this is something that I will be graded on, I am NOT asking you do "do it all for me" I am asking for hints and help so...
Results 1 to 11 of 11