Results 1 to 14 of 14

Thread: Min and Max value in array

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2007
    Posts
    36
    Qt products
    Qt3 Qt/Embedded
    Platforms
    Unix/X11
    Thanks
    2

    Default Re: Min and Max value in array

    Thank you for your replay.

    I am wondering one thing, can this way of finding min and max values work with mixed positive and negative numbers?

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Wiki edits
    5

    Default Re: Min and Max value in array

    Quote Originally Posted by Benjamin View Post
    I am wondering one thing, can this way of finding min and max values work with mixed positive and negative numbers?
    Why not? (-1 > 2) or (2 > -1) are fine...

  3. The following user says thank you to Lykurg for this useful post:

    Benjamin (27th February 2009)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.