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).
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment