Click here to Skip to main content
15,885,757 members
Articles / Desktop Programming / MFC

How to replace recursive functions using stack and while-loop to avoid the stack-overflow

Rate me:
Please Sign up or sign in to vote.
4.95/5 (83 votes)
1 Jul 2015MIT8 min read 304.3K   2.3K   184  
This article explains 10 rules (steps) for replacing the recursive functions using stack and while-loop to avoid the stack-overflow.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The MIT License


Written By
Software Developer
United States United States
Woong Gyu La had been working as a software developer for over 8 years.
His personal interests are improving his personal projects,

EpLibrary (Visual C++ Utility Library)
https://github.com/juhgiyo/EpLibrary[^]

EpOraLibrary (Oracle OCI Wrapper Library for Visual C++)
https://github.com/juhgiyo/EpOraLibrary[^]

EpServerEngine (Visual C++ WinSock Server/Client Engine)
https://github.com/juhgiyo/EpServerEngine[^]

And other projects can be found at
https://github.com/juhgiyo?tab=repositories[^]

Finally, my other articles can be found at
http://www.codeproject.com/Articles/juhgiyo#articles[^]

You can contact me at juhgiyo@gmail.com[^]

Comments and Discussions