Thread: Nesting

  1. #1
    Registered User
    Join Date
    Jan 2003
    Posts
    17

    Lightbulb Nesting

    Hi All,

    switch(i)
    {
    case 0: statement;
    break;
    case 1: statement;
    switch(y)
    {
    case y1: statement; break;
    }
    break;
    }

    1.) If above is possible what is the MAX level of nesting ?

    cool

  2. #2
    Registered User Cela's Avatar
    Join Date
    Jan 2003
    Posts
    362
    >>1.) If above is possible what is the MAX level of nesting ?
    At least 127, maybe more if the implementation supports it. But no one in their right mind would get anywhere close to that lower bound. And those in their left mind would get lynched in a heartbeat :-)
    *Cela*

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Mice Are Nesting!!!
    By Dagger in forum C++ Programming
    Replies: 4
    Last Post: 02-05-2006, 11:59 PM
  2. Nesting switchstatments
    By Da-Nuka in forum C++ Programming
    Replies: 5
    Last Post: 03-04-2005, 03:05 PM
  3. Nesting Parentheses
    By XZSNPP in forum C++ Programming
    Replies: 6
    Last Post: 01-18-2003, 10:01 PM
  4. DLLs <- sound files, and nesting.
    By sean in forum C++ Programming
    Replies: 2
    Last Post: 10-28-2002, 05:13 PM
  5. #include nesting level?
    By Josho in forum C++ Programming
    Replies: 2
    Last Post: 09-23-2001, 12:28 AM