Search:

Type: Posts; User: tabstop

Search: Search took 0.72 seconds.

  1. Replies
    77
    Views
    16,257

    Also, you need to move forward in your histogram...

    Also, you need to move forward in your histogram so that you don't print the same four entries over and over and over again. If you need to use fwrite, then you should be adding 4 to histogram every...
  2. Replies
    77
    Views
    16,257

    Okay, so libjpeg is actually needed. In Ubuntu,...

    Okay, so libjpeg is actually needed. In Ubuntu, you can fire up synaptic and get "libjpeg62". (I already have it installed, and I don't remember installing it special, but I guess I must have.)
    ...
  3. Replies
    77
    Views
    16,257

    If jpeg.o is the proper o file, then ditch -ljpeg...

    If jpeg.o is the proper o file, then ditch -ljpeg and just put jpeg.o in your final gcc command.
  4. Replies
    77
    Views
    16,257

    If you want to "cheat", rename your .jpg to...

    If you want to "cheat", rename your .jpg to something like .txt and then copy it over, then rename it again. (Rename is called "mv" on *nix, but you probably know that.)
  5. Replies
    77
    Views
    16,257

    Does Lenna.jpg open in, say, Picture Viewer? ...

    Does Lenna.jpg open in, say, Picture Viewer?

    And it wouldn't hurt to make sure it's in the same directory as the executable.
  6. Replies
    77
    Views
    16,257

    So did you read the homework assignment at all?

    So did you read the homework assignment at all?
  7. Replies
    77
    Views
    16,257

    So did you do the histogram homework that this is...

    So did you do the histogram homework that this is based on? If I give you a number, do you know how to figure out which bin it should go in? (And now, if I give you three numbers, do you know which...
  8. Replies
    77
    Views
    16,257

    But you have three pages of instructions, and I...

    But you have three pages of instructions, and I would be willing to bet $x for most any x that all the information you need is in the instructions, if only you were to read them.
  9. Replies
    77
    Views
    16,257

    If you know what a filename is, and you've been...

    If you know what a filename is, and you've been taught about strings, then you're done.
  10. Replies
    77
    Views
    16,257

    Presumably you know what filenames are. For now...

    Presumably you know what filenames are. For now you can think of "const char *" as "things in quotes" if you want (but it could also be a char array).


    loadJPG("file1", "file2");
Results 1 to 10 of 10