Thread: Image manip program

  1. #1
    Registered User axon's Avatar
    Join Date
    Feb 2003
    Posts
    2,572

    Image manip program

    Last semester a bunch of you, (Hammer and PJYelton Codeplug) have helped me with the last project of my first c++ course. It was an image manipulation program. I never got a chance to show you how it came out. That said, below is a link to the zip file containing the program. It is not an exe so you need to run the .dsw (it is written in VC++) you could use any picture you want but it has to be in the directory...the one pic provided is fish.jpg.

    Anyhow, tell me what you think, gimme some feedback. It is a very simple prog, and you have to save each time you manipulate the pic. All the manipulations are then displayed in a HTML file found in the directory named results.html

    Image.zip

    thanks again to everyone that helped me,

    axon


    btw, i did get a perfect score on this assignment.
    Last edited by axon; 09-24-2003 at 07:03 PM.

    some entropy with that sink? entropysink.com

    there are two cardinal sins from which all others spring: Impatience and Laziness. - franz kafka

  2. #2
    Amateur
    Join Date
    Sep 2003
    Posts
    228
    Um... I get an error while trying to link, it says that delete is redefined in an object "delop.obj".

  3. #3
    Registered User axon's Avatar
    Join Date
    Feb 2003
    Posts
    2,572
    what compiler are you using...it compiles fine on vc++ and c.net...

    some entropy with that sink? entropysink.com

    there are two cardinal sins from which all others spring: Impatience and Laziness. - franz kafka

  4. #4
    Amateur
    Join Date
    Sep 2003
    Posts
    228
    Well, I changed some options so it was probably that. Now, it compiles and link properly, or seems to...

    I use both ICL 7.1 and MSVC 6 depending on if the code uses some very compiler-specific things. (very unusual)

  5. #5
    Registered User axon's Avatar
    Join Date
    Feb 2003
    Posts
    2,572
    so what do you think?

    some entropy with that sink? entropysink.com

    there are two cardinal sins from which all others spring: Impatience and Laziness. - franz kafka

  6. #6
    Amateur
    Join Date
    Sep 2003
    Posts
    228
    Well, you code clearly and it is full of comments. Also, I don't read the whole thing but I didn't see really shocking errors. I think it is some good job.
    However, why do you use your own mod() function instead of the fmod() one of the libc?

  7. #7
    Registered User axon's Avatar
    Join Date
    Feb 2003
    Posts
    2,572
    if I remember correctly the mod function was made because the built in function does not handle anything else but ints, longs, and chars.

    But, about the program itself: I got some feedback from people I know in other universities and they were very surprised that this was an assignment in an introductory c++ course. Granted that I am in computer science engineering, but a lot of the people after four semesters of cs did not really understand what is going on.

    The word around the college of engineering at my campus is that within the next year to a year and a half they want to raise their rating in the national standing to be as high as their urbana counterpart....that means more work for me in school but it will pay of later...

    axon
    Last edited by axon; 09-25-2003 at 06:05 PM.

    some entropy with that sink? entropysink.com

    there are two cardinal sins from which all others spring: Impatience and Laziness. - franz kafka

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem reading tiff image files?
    By compz in forum C++ Programming
    Replies: 9
    Last Post: 10-30-2009, 04:17 AM
  2. C program for text to image
    By karthiks551985 in forum C Programming
    Replies: 7
    Last Post: 10-10-2008, 09:36 AM
  3. HotSpot image controls (web)
    By novacain in forum C# Programming
    Replies: 0
    Last Post: 06-25-2008, 04:27 AM
  4. which data type in image program?
    By TriKri in forum C++ Programming
    Replies: 13
    Last Post: 06-14-2008, 04:17 PM
  5. Replies: 6
    Last Post: 03-03-2005, 03:52 AM