Around 3 years ago I got a problem. It was interesting for me, so I solved it. Compiler was turbo C/c++ 3.0. That is very old compiler.
That program had very poor memory management as I can recall(I dont have the source code right now). It used recursive function(to implement backtracking). The problem was after running the entire program the result(not display) used generated correctly(check ed thousand time by debugging) but when i tried to print that array I never saw any output in the display.
I can guess stupid memory management has to do something with it. I actually wanna know what can be possible mistake where printf function wont print anything.
That program had very poor memory management as I can recall(I dont have the source code right now). It used recursive function(to implement backtracking). The problem was after running the entire program the result(not display) used generated correctly(check ed thousand time by debugging) but when i tried to print that array I never saw any output in the display.
I can guess stupid memory management has to do something with it. I actually wanna know what can be possible mistake where printf function wont print anything.
Comment