And i get the following error : CXX0069 variable needs stack frame .
I have read that this error may be caused by variables declared as part of an inline function . Which might be right in my case , because i declare qNode* trav[] vector in merge function , before to call traverse .
Where should i declare the qNode* trav[] vector ?
I tried to declare it as extern within the class and i get an external unlink error (error LNK2001: unresolved external symbol "class qNode * * trav" ).
And i get the following error : CXX0069 variable needs stack frame .
This is a message from the debugger, and is not a compiler or linker error.
Given that it is a debugger message, are you going to change your code so as to make the debugger accept it? If so, that is the wrong approach to writing a program, as you're design is being controlled by what the debugger accepts.
Bookmarks