that would obviously create an infinite loop but will it eventually cause problems by having an infinite amount of functions inside functions?
the code is written for autohotkey but it should be close enough to c++ for it to make sense
thank you for your time
1
Expert's answer
2012-10-30T11:28:49-0400
void function() { intx = 1; if(x == 1) { function(); } return; } Call of function will cause the next error : Unhandled exception at 0x002643F9 in Number Processing.exe:0xC00000FD: Stack overflow (parameters: 0x00000001, 0x00432F3C).
Comments
Leave a comment