Click here to Skip to main content
15,900,461 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionTool to generate UML diagram from existing code Pin
ilgale12-Jun-08 5:24
ilgale12-Jun-08 5:24 
AnswerRe: Tool to generate UML diagram from existing code Pin
Eytukan12-Jun-08 6:37
Eytukan12-Jun-08 6:37 
GeneralRe: Tool to generate UML diagram from existing code Pin
led mike12-Jun-08 6:45
led mike12-Jun-08 6:45 
GeneralRe: Tool to generate UML diagram from existing code Pin
Eytukan12-Jun-08 6:59
Eytukan12-Jun-08 6:59 
Generaltree traversal from recursive to iterative Pin
Michele Bosi12-Jun-08 4:54
Michele Bosi12-Jun-08 4:54 
GeneralRe: tree traversal from recursive to iterative Pin
Nemanja Trifunovic12-Jun-08 5:22
Nemanja Trifunovic12-Jun-08 5:22 
GeneralRe: tree traversal from recursive to iterative Pin
Michele Bosi12-Jun-08 10:13
Michele Bosi12-Jun-08 10:13 
GeneralRe: tree traversal from recursive to iterative Pin
Nemanja Trifunovic12-Jun-08 10:34
Nemanja Trifunovic12-Jun-08 10:34 
Michele Bosi wrote:
I thought there would be a "text-book" solution to this but it seems that this is a much more complex problem than I expected...


It is not trivial, but it is still pretty straightforward: replace recursive calls with a loop and a stack. Local variables would take values from the stack, much like function parameters, and recursive function calls would translate to putting parameters on the stack and going to the beginning of the loop.


GeneralRe: tree traversal from recursive to iterative Pin
Michele Bosi12-Jun-08 10:59
Michele Bosi12-Jun-08 10:59 
GeneralRe: tree traversal from recursive to iterative Pin
Michele Bosi13-Jun-08 2:10
Michele Bosi13-Jun-08 2:10 
QuestionHow to write a game called"globule beats brick"using VC++6.0 or Visual Studio 2003 in SDI? Pin
youareabigboy12-Jun-08 3:40
youareabigboy12-Jun-08 3:40 
QuestionRe: How to write a game called"globule beats brick"using VC++6.0 or Visual Studio 2003 in SDI? Pin
CPallini12-Jun-08 3:52
mveCPallini12-Jun-08 3:52 
AnswerRe: How to write a game called"globule beats brick"using VC++6.0 or Visual Studio 2003 in SDI? Pin
youareabigboy12-Jun-08 14:29
youareabigboy12-Jun-08 14:29 
AnswerRe: How to write a game called"globule beats brick"using VC++6.0 or Visual Studio 2003 in SDI? Pin
rp_suman12-Jun-08 3:57
rp_suman12-Jun-08 3:57 
GeneralRe: How to write a game called"globule beats brick"using VC++6.0 or Visual Studio 2003 in SDI? Pin
CPallini12-Jun-08 4:02
mveCPallini12-Jun-08 4:02 
GeneralRe: How to write a game called"globule beats brick"using VC++6.0 or Visual Studio 2003 in SDI? Pin
rp_suman12-Jun-08 19:06
rp_suman12-Jun-08 19:06 
GeneralRe: How to write a game called"globule beats brick"using VC++6.0 or Visual Studio 2003 in SDI? Pin
CPallini12-Jun-08 21:11
mveCPallini12-Jun-08 21:11 
GeneralRe: How to write a game called"globule beats brick"using VC++6.0 or Visual Studio 2003 in SDI? Pin
rp_suman13-Jun-08 1:03
rp_suman13-Jun-08 1:03 
JokeRe: How to write a game called"globule beats brick"using VC++6.0 or Visual Studio 2003 in SDI? Pin
David Crow12-Jun-08 4:00
David Crow12-Jun-08 4:00 
JokeRe: How to write a game called"globule beats brick"using VC++6.0 or Visual Studio 2003 in SDI? Pin
toxcct12-Jun-08 4:07
toxcct12-Jun-08 4:07 
QuestionRe: How to write a game called"globule beats brick"using VC++6.0 or Visual Studio 2003 in SDI? Pin
CPallini12-Jun-08 4:31
mveCPallini12-Jun-08 4:31 
AnswerRe: How to write a game called"globule beats brick"using VC++6.0 or Visual Studio 2003 in SDI? Pin
toxcct12-Jun-08 4:35
toxcct12-Jun-08 4:35 
GeneralRe: How to write a game called"globule beats brick"using VC++6.0 or Visual Studio 2003 in SDI? Pin
Eytukan12-Jun-08 6:34
Eytukan12-Jun-08 6:34 
JokeRe: How to write a game called"globule beats brick"using VC++6.0 or Visual Studio 2003 in SDI? Pin
Jijo.Raj12-Jun-08 7:03
Jijo.Raj12-Jun-08 7:03 
GeneralRe: How to write a game called"globule beats brick"using VC++6.0 or Visual Studio 2003 in SDI? Pin
CPallini12-Jun-08 6:54
mveCPallini12-Jun-08 6:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.