definition of "nested" please - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

definition of "nested" please

siskomikesiskomike Posts: 88Member
I've heard the term "nested" being used quite a few times... what does it mean exactly?
thnx

Comments

  • stoberstober Posts: 9,765Member ✭✭✭
    : I've heard the term "nested" being used quite a few times... what does it mean exactly?
    : thnx
    :

    one thing that resides within another. For example, a nested loop:
    [code]

    for(int i = 0; i < 100; i++)
    {
    // This loop is "nested" within the above loop
    for(int j = i+1; j < 100; j++)
    {

    }
    }
    [/code]

Sign In or Register to comment.