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

C / C++ / MFC

 
AnswerRe: 0 bytes CImage saved Pin
_Flaviu29-Sep-15 0:33
_Flaviu29-Sep-15 0:33 
SuggestionRe: 0 bytes CImage saved Pin
Jochen Arndt29-Sep-15 0:36
professionalJochen Arndt29-Sep-15 0:36 
GeneralRe: 0 bytes CImage saved Pin
_Flaviu29-Sep-15 0:57
_Flaviu29-Sep-15 0:57 
GeneralRe: 0 bytes CImage saved Pin
Jochen Arndt29-Sep-15 0:59
professionalJochen Arndt29-Sep-15 0:59 
GeneralRe: 0 bytes CImage saved Pin
_Flaviu29-Sep-15 1:00
_Flaviu29-Sep-15 1:00 
QuestionHow to drag a node from treeview to listbox in MFC. What is the event ? Pin
Member 1199023524-Sep-15 16:50
Member 1199023524-Sep-15 16:50 
AnswerRe: How to drag a node from treeview to listbox in MFC. What is the event ? Pin
Jochen Arndt24-Sep-15 22:13
professionalJochen Arndt24-Sep-15 22:13 
Questionhelp Pin
robsons200724-Sep-15 16:01
robsons200724-Sep-15 16:01 
AnswerRe: help Pin
robsons200724-Sep-15 16:05
robsons200724-Sep-15 16:05 
AnswerRe: help Pin
robsons200724-Sep-15 16:06
robsons200724-Sep-15 16:06 
GeneralRe: help Pin
Richard MacCutchan24-Sep-15 22:35
mveRichard MacCutchan24-Sep-15 22:35 
GeneralRe: help Pin
robsons200725-Sep-15 12:02
robsons200725-Sep-15 12:02 
GeneralRe: help Pin
Richard MacCutchan25-Sep-15 22:09
mveRichard MacCutchan25-Sep-15 22:09 
AnswerRe: help Pin
Jochen Arndt24-Sep-15 22:30
professionalJochen Arndt24-Sep-15 22:30 
GeneralRe: help Pin
robsons200725-Sep-15 10:47
robsons200725-Sep-15 10:47 
GeneralRe: help Pin
robsons200725-Sep-15 10:57
robsons200725-Sep-15 10:57 
Questionc programm Pin
Honey1724-Sep-15 9:08
Honey1724-Sep-15 9:08 
AnswerRe: c programm Pin
k505424-Sep-15 9:26
mvek505424-Sep-15 9:26 
AnswerRe: c programm Pin
CPallini24-Sep-15 9:57
mveCPallini24-Sep-15 9:57 
GeneralRe: c programm Pin
Maximilien24-Sep-15 10:17
Maximilien24-Sep-15 10:17 
QuestionFunction parameter question Pin
econy23-Sep-15 7:42
econy23-Sep-15 7:42 
C++
struct node{
    int key;
    node* head;
}

node *head = NULL;
void func(node* &h,int n, int m) 
{ 
   if(n > m) 
     return;
   else {
        int mid = (n+m)/2;
        func(h->head,n,mid-1);
        func(h->head,mid+1,m);
   }
}


I am wonder what is the difference of parameter:
func(node* &h, int n, int m)
and
func(node* h,int n, int m)

what is the usefulness of node *&h.
AnswerRe: Function parameter question Pin
David Crow23-Sep-15 7:58
David Crow23-Sep-15 7:58 
GeneralRe: Function parameter question Pin
Richard Andrew x6423-Sep-15 11:48
professionalRichard Andrew x6423-Sep-15 11:48 
GeneralRe: Function parameter question Pin
David Crow23-Sep-15 16:59
David Crow23-Sep-15 16:59 
GeneralRe: Function parameter question Pin
Richard MacCutchan23-Sep-15 21:38
mveRichard MacCutchan23-Sep-15 21:38 

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.