Click here to Skip to main content
15,884,473 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: socket programming in c help Pin
Richard Andrew x644-Apr-10 11:49
professionalRichard Andrew x644-Apr-10 11:49 
AnswerRe: socket programming in c help Pin
Garth J Lancaster4-Apr-10 12:29
professionalGarth J Lancaster4-Apr-10 12:29 
QuestionIs the handle from OpenProcess Unique Pin
ForNow4-Apr-10 7:37
ForNow4-Apr-10 7:37 
QuestionRecieving device events in a service Pin
Ap0ll0-134-Apr-10 3:42
Ap0ll0-134-Apr-10 3:42 
QuestionHow to get the net speed of your computer and how to get the current webpage's speed? Pin
Aric Wang4-Apr-10 0:42
Aric Wang4-Apr-10 0:42 
QuestionRe: How to get the net speed of your computer and how to get the current webpage's speed? Pin
enhzflep4-Apr-10 3:31
enhzflep4-Apr-10 3:31 
QuestionApplication crash - on use of IXMLHTTPRequest send method Pin
dinesh babu3-Apr-10 20:47
dinesh babu3-Apr-10 20:47 
QuestionIs my merge list right? Pin
wbgxx3-Apr-10 18:36
wbgxx3-Apr-10 18:36 
<br />
struct Node<br />
{<br />
       int data;<br />
       Node *next;<br />
};<br />
typedef struct Node Node;<br />
<br />
Node *Reverse(Node *head);<br />
<br />
Node *Merge(Node *head1, Node *head2)<br />
{<br />
     if (head1 == NULL)<br />
     return head2;<br />
     if (head2 == NULL)<br />
     return head1;<br />
     <br />
     Node *head = NULL;<br />
     Node *p1 == NULL;<br />
     Node *p2 == NULL;<br />
     <br />
     if (head1->data > head2->data)<br />
     {<br />
         head->next = head1;<br />
         p1 = head1->next;<br />
         p2 = head2;<br />
     }<br />
     <br />
     else<br />
     {<br />
         head->next = head2;<br />
         p1 = head1;<br />
         p2 = head2 -> data;<br />
     }<br />
     <br />
    // I want to see is that why some book in this step using  " Node *pcurrent =head"<br />
    //and I dont not know why,coould someone give me a detail, thanks in advantage!<br />
<br />
     while (p1!=NULL && p2!=NULL)<br />
     {<br />
     	if (p1->data > p2->data)<br />
     		{<br />
     			head->next =p1;<br />
     			head = p1;<br />
     			p1 = p1->next;<br />
     		}<br />
     	else<br />
     		{<br />
     			head -next = p2;<br />
     			head = p2;<br />
     			p2 = p2->next;<br />
     		}<br />
     }<br />
     <br />
     while (p1 != NULL)<br />
     {<br />
     		head->next = p1;<br />
     		head = p1;<br />
     		p1 = p2->next;<br />
    	}<br />
     while (p2 != NULL)<br />
     {<br />
     		head -next = p2;<br />
     		head = p2;<br />
     		p2 = p2->next;<br />
     }<br />
     return head;<br />
 }<br />

AnswerRe: Is my merge list right? Pin
Luc Pattyn3-Apr-10 21:06
sitebuilderLuc Pattyn3-Apr-10 21:06 
QuestionCWinApp <-> DLL communication Pin
hxhl953-Apr-10 12:09
hxhl953-Apr-10 12:09 
QuestionRe: CWinApp DLL communication Pin
Tim Craig3-Apr-10 13:55
Tim Craig3-Apr-10 13:55 
AnswerRe: CWinApp DLL communication Pin
hxhl953-Apr-10 15:56
hxhl953-Apr-10 15:56 
GeneralRe: CWinApp DLL communication Pin
Tim Craig3-Apr-10 16:07
Tim Craig3-Apr-10 16:07 
GeneralRe: CWinApp DLL communication Pin
hxhl953-Apr-10 16:10
hxhl953-Apr-10 16:10 
QuestionIE8 and ShellExecute weirdness Pin
Monty23-Apr-10 9:41
Monty23-Apr-10 9:41 
AnswerRe: IE8 and ShellExecute weirdness Pin
LunaticFringe3-Apr-10 12:37
LunaticFringe3-Apr-10 12:37 
GeneralRe: IE8 and ShellExecute weirdness Pin
Luc Pattyn3-Apr-10 13:41
sitebuilderLuc Pattyn3-Apr-10 13:41 
GeneralRe: IE8 and ShellExecute weirdness Pin
LunaticFringe3-Apr-10 16:08
LunaticFringe3-Apr-10 16:08 
QuestionIP information class/function Pin
includeh103-Apr-10 8:25
includeh103-Apr-10 8:25 
AnswerRe: IP information class/function Pin
Moak3-Apr-10 8:38
Moak3-Apr-10 8:38 
QuestionKey press detection and while loop problem Pin
User 68017803-Apr-10 8:21
User 68017803-Apr-10 8:21 
Questiona simple VC++ scrolling display Pin
Alan Kurlansky3-Apr-10 3:17
Alan Kurlansky3-Apr-10 3:17 
AnswerRe: a simple VC++ scrolling display Pin
Maximilien3-Apr-10 3:43
Maximilien3-Apr-10 3:43 
GeneralRe: a simple VC++ scrolling display Pin
Alan Kurlansky3-Apr-10 3:57
Alan Kurlansky3-Apr-10 3:57 
AnswerRe: a simple VC++ scrolling display Pin
Richard MacCutchan3-Apr-10 4:35
mveRichard MacCutchan3-Apr-10 4:35 

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.