Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #12055

Re: nested for/while loops

From Victor Bazarov <v.bazarov@comcast.invalid>
Newsgroups comp.lang.c++
Subject Re: nested for/while loops
Date 2011-12-04 12:41 -0500
Organization A noiseless patient Spider
Message-ID <jbgbd7$253$1@dont-email.me> (permalink)
References <e9794b78-faec-46e7-bb0f-bfcdaa4438f2@w1g2000vba.googlegroups.com> <c2b7db78-ee53-4387-8d10-cbc50c2c521c@o1g2000vbe.googlegroups.com>

Show all headers | View raw


On 12/4/2011 12:23 PM, Nick Keighley wrote:
> On Dec 4, 3:04 pm, ahso<ahs...@yahoo.com>  wrote:
>> Hi
>>   a function returns Z (height) after giving X and Y location. How
>> would those two for (or while?) loops look like if I need all z points
>> in a rectangle.
>> Many thanks
>> Michael
>
> you need to work out how X,Y gets turned into Z

No, [s]he needs to work out how "a rectangle" turns into X and Y.

V
-- 
I do not respond to top-posted replies, please don't ask

Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

nested for/while loops ahso <ahso47@yahoo.com> - 2011-12-04 07:04 -0800
  Re: nested for/while loops ralph <nt_consulting64@yahoo.net> - 2011-12-04 10:32 -0600
  Re: nested for/while loops Nick Keighley <nick_keighley_nospam@hotmail.com> - 2011-12-04 09:23 -0800
    Re: nested for/while loops Victor Bazarov <v.bazarov@comcast.invalid> - 2011-12-04 12:41 -0500
      Re: nested for/while loops ahso <ahso47@yahoo.com> - 2011-12-04 22:56 -0800
        Re: nested for/while loops Werner <werasm@gmail.com> - 2011-12-05 02:13 -0800
          Re: nested for/while loops ahso <ahso47@yahoo.com> - 2011-12-05 06:19 -0800
            Re: nested for/while loops Victor Bazarov <v.bazarov@comcast.invalid> - 2011-12-05 11:59 -0500
              Re: nested for/while loops ahso <ahso47@yahoo.com> - 2011-12-05 23:07 -0800
                Re: nested for/while loops Ian Collins <ian-news@hotmail.com> - 2011-12-06 20:15 +1300
                Re: nested for/while loops Nick Keighley <nick_keighley_nospam@hotmail.com> - 2011-12-06 01:37 -0800
                Re: nested for/while loops ahso <ahso47@yahoo.com> - 2011-12-06 05:02 -0800
                Re: nested for/while loops "Fred Zwarts \(KVI\)" <F.Zwarts@KVI.nl> - 2011-12-06 16:13 +0100
                Re: nested for/while loops Victor Bazarov <v.bazarov@comcast.invalid> - 2011-12-06 10:24 -0500
            Re: nested for/while loops Werner <werasm@gmail.com> - 2011-12-06 00:03 -0800

csiph-web