Search:

Type: Posts; User: AndrewHunter

Search: Search took 0.02 seconds.

  1. Right now you are telling malloc to make enough...

    Right now you are telling malloc to make enough memory (int *mem[height][4]) which is not how large your mem array is. The compiler evaluates this as to (int * <whatever is in the location of your...
  2. Where do you define height? Also what do you...

    Where do you define height? Also what do you think your malloc is doing? What is at location mem[height][4]?
  3. Did you look at the link your classmate posted....

    Did you look at the link your classmate posted. Is this not the same .o and .h file you need to download? At least then you could just do the assignment on your computer.
  4. Your classmate posted a link so you could...

    Your classmate posted a link so you could download them I thought....

    Index of /class/cgs3460su11/homework

    EDIT: And yes, I would be willing to bet your loadJPG function checks for the JPEG...
  5. 1. The LoadJPG function is defined in your header...

    1. The LoadJPG function is defined in your header file so why did you do it again? This could be an issue, just have the include file and use the function, don't prototype it again.

    2. You...
  6. Do you not know how to link multiple source...

    Do you not know how to link multiple source files? Is that the question?
  7. May I refer you to the eloquent words of iMalc:

    May I refer you to the eloquent words of iMalc:
  8. How would you do what is in red? EDIT: To slow...

    How would you do what is in red?

    EDIT: To slow again.
  9. Oh my, let's take a look: Do you know what a...

    Oh my, let's take a look:


    Do you know what a histogram is?



    If you noticed this is actually part 2 of your problem.

    Part 1 would be:
  10. As I just stated, it is not a standard function....

    As I just stated, it is not a standard function. There are many implementations out there for the jpeg format; depending on your compiler/OS/library files the answers are going to be different. You...
  11. All that tabstop and quzah are saying is that...

    All that tabstop and quzah are saying is that since the function you are dealing with is not a standard function, as I pointed out to you in my previous post, it will be very hard for us to help you...
  12. What is the actual assignment? Also, the function...

    What is the actual assignment? Also, the function you are using isn't a standard function; if you could provide the protoype and maybe description of what is does, we could help you better. Please...
  13. Well, depending where the files are and where...

    Well, depending where the files are and where your program is you may need to include a path. Additionally, what is the format of your decompressed file? Without more knowledge lets say you were...
Results 1 to 13 of 13