This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SCOPE STACK OVERFLOW

HI, i am writing a program in which there are many do-while loops one inside the other...
when i try compile this program... it gives me a error stating.."'{' scope stack overflow.."
it point to braces i have used in DO-WHILE an IF statement...
plss help me to solve this problem...
THANKS...

Parents
  • ... feel very clever, but Per does not need to feel clever.

    with that many nested loops the code IS messed up.

    Of, course, it might be more politically correct to say "your excellent code has in your brilliance passed a silly limit set by the C standard. I do not know why the idiots that wrote the standard set a limit so low. Unfortunately, you will have to live with that limit ad reduce your loop count by the excess"

    That, of course will leave the OP with code that, forever, is messed up.

    A guy I know, refuse to look at code that, when correctly indented, has an identation level of more than 5. I think that is a good rule.

    Erik

Reply
  • ... feel very clever, but Per does not need to feel clever.

    with that many nested loops the code IS messed up.

    Of, course, it might be more politically correct to say "your excellent code has in your brilliance passed a silly limit set by the C standard. I do not know why the idiots that wrote the standard set a limit so low. Unfortunately, you will have to live with that limit ad reduce your loop count by the excess"

    That, of course will leave the OP with code that, forever, is messed up.

    A guy I know, refuse to look at code that, when correctly indented, has an identation level of more than 5. I think that is a good rule.

    Erik

Children
No data