Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #55.1K
~2K People Reached
Favorite Forums
Favorite Tags

2 Posted Topics

Member Avatar for Schol-R-LEA

If the function contains just one recursive function call, then it's true that expressing the function iteratively is often fairly simple. But tree-walking algorithms that contain two or more recursive function calls are much more natural when expressed recursively. This recursive example walks a binary tree. Is there a simple …

Member Avatar for Ancient Dragon
1
2K
Member Avatar for Vish0203

You're reading the file status once outside of the while loop, so it never changes. You should re-read it every time around the loop.

Member Avatar for Harold_2
0
281

The End.