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...
Type: Posts; User: Dude22
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...
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...
Whoops, forgot to add that on the last post... here it is:
/****************************************************************************
* resize.c
*
* Computer Science 50
* Problem Set...
Any Ideas as to what might be wrong???
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...
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...
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...
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???
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...
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...
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...