Thread: Searching for a particular address in a given range

  1. #1
    Banned
    Join Date
    Jul 2011
    Posts
    12

    Searching for a particular address in a given range

    Can anyone help me with searching for a particular address in a given range in C. like i have to search for *ptr in range specified by *high and *low. i think it is not same as linear search. can someone provide some input. thanks.

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    What exactly do you mean by "searching for a particular address in a given range"?
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,662
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  4. #4
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,662
    Stupid bot even did the same thing here
    Searching for a particular address in a given range
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Searching for a particular address in a given range
    By Sjvlsdsd in forum C Programming
    Replies: 9
    Last Post: 07-30-2011, 08:22 AM
  2. Searching for a particular address in a given range
    By xyz1987 in forum C Programming
    Replies: 6
    Last Post: 11-20-2010, 08:24 AM
  3. Replies: 1
    Last Post: 11-07-2010, 11:39 PM
  4. IP address range matching
    By Thantos in forum Tech Board
    Replies: 2
    Last Post: 07-16-2009, 04:28 PM
  5. Block address from word address
    By xddxogm3 in forum Tech Board
    Replies: 0
    Last Post: 04-25-2007, 09:02 PM