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...
spose u feel very clever?
give my m8 a break. hes just learning this stuff. u knew it all doin ur 1st project did u?
... 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
Data structures comes in very early.
But are you saying that beginners should not take one step back and consider "am I doing something wrong" when they get stuck by a compiler limitation, while thousands of professional developers do not get stuck by that same limitation?
Cleverer than you and your "m8"? Yes, obviously.
Well, how come we don't see you helping your "m8", instead of whining about the quality of advice he got? If you really believe that you can help this guy better than earlier responders, how come your "m8" had to even ask here in the first place?
Here's a suggestion: How about you two get together off-line, and actually help each other? I suggest you ask him to teach you less atrocious spelling than yours, in return.