Click here to Skip to main content
16,018,525 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Getting Thread Exit Code Pin
masnu5-Mar-08 4:33
masnu5-Mar-08 4:33 
GeneralRe: Getting Thread Exit Code Pin
Ernest Laurentin5-Mar-08 4:41
Ernest Laurentin5-Mar-08 4:41 
GeneralRe: Getting Thread Exit Code Pin
CPallini5-Mar-08 4:48
mveCPallini5-Mar-08 4:48 
GeneralRe: Getting Thread Exit Code Pin
led mike5-Mar-08 5:29
led mike5-Mar-08 5:29 
GeneralRe: Getting Thread Exit Code Pin
Mark Salsbery5-Mar-08 14:32
Mark Salsbery5-Mar-08 14:32 
Questionhow to watch the content which is pointed by a pointer Pin
wendyyue5-Mar-08 3:50
wendyyue5-Mar-08 3:50 
AnswerRe: how to watch the content which is pointed by a pointer Pin
toxcct5-Mar-08 4:15
toxcct5-Mar-08 4:15 
GeneralRe: how to watch the content which is pointed by a pointer Pin
Rajkumar R5-Mar-08 4:59
Rajkumar R5-Mar-08 4:59 
toxcct wrote:
the VC6 debugger is not very powerful (actually, VC6 itself is far outdated by its new versions).
so if you want to see the other elements, you have to specify yourself the address of the element you need to watch AFAIK...


you are correct, But viewing the List items is very simple from VC6.0, we don't want to explicitly specify the address of the next element, it shows tree view in the watch window and expands the list if the first element is in the watch window.

struct ListNode
{
	int iData;
	struct ListNode *pNext;
};

int main(int argc, char* argv[])
{

	struct ListNode Head, Middle, Tail;
	Head.pNext		= &Middle;
	Middle.pNext	= &Tail;
	Tail.pNext		= 0;

	return 0;
}

I can view the list items in the above program as tree view in the watch window of VC6.0, even VC6.0 supports drag and drop variable to watch window.
GeneralRe: how to watch the content which is pointed by a pointer Pin
toxcct5-Mar-08 5:01
toxcct5-Mar-08 5:01 
GeneralRe: how to watch the content which is pointed by a pointer Pin
Rajkumar R5-Mar-08 5:12
Rajkumar R5-Mar-08 5:12 
AnswerRe: how to watch the content which is pointed by a pointer Pin
Ernest Laurentin5-Mar-08 4:44
Ernest Laurentin5-Mar-08 4:44 
GeneralRe: how to watch the content which is pointed by a pointer Pin
wendyyue6-Mar-08 1:27
wendyyue6-Mar-08 1:27 
QuestionVC++ 6.0 question newbie question Pin
johnny alpaca5-Mar-08 2:54
johnny alpaca5-Mar-08 2:54 
AnswerRe: VC++ 6.0 question newbie question Pin
Rajkumar R5-Mar-08 3:14
Rajkumar R5-Mar-08 3:14 
GeneralRe: VC++ 6.0 question newbie question Pin
johnny alpaca5-Mar-08 3:18
johnny alpaca5-Mar-08 3:18 
QuestionRe: VC++ 6.0 question newbie question Pin
Rajkumar R5-Mar-08 3:19
Rajkumar R5-Mar-08 3:19 
GeneralRe: VC++ 6.0 question newbie question Pin
johnny alpaca5-Mar-08 3:20
johnny alpaca5-Mar-08 3:20 
GeneralRe: VC++ 6.0 question newbie question Pin
Rajkumar R5-Mar-08 3:29
Rajkumar R5-Mar-08 3:29 
AnswerRe: VC++ 6.0 question newbie question Pin
Ozer Karaagac5-Mar-08 3:37
professionalOzer Karaagac5-Mar-08 3:37 
GeneralRe: VC++ 6.0 question newbie question Pin
johnny alpaca5-Mar-08 23:47
johnny alpaca5-Mar-08 23:47 
GeneralRe: VC++ 6.0 question newbie question Pin
toxcct5-Mar-08 3:39
toxcct5-Mar-08 3:39 
QuestionRe: VC++ 6.0 question newbie question Pin
David Crow5-Mar-08 8:40
David Crow5-Mar-08 8:40 
GeneralRe: VC++ 6.0 question newbie question Pin
toxcct5-Mar-08 21:14
toxcct5-Mar-08 21:14 
QuestionRe: VC++ 6.0 question newbie question Pin
David Crow6-Mar-08 4:18
David Crow6-Mar-08 4:18 
GeneralRe: VC++ 6.0 question newbie question Pin
toxcct6-Mar-08 4:20
toxcct6-Mar-08 4:20 

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.