Click here to Skip to main content
11,504,689 members (69,328 online)

C / C++ / MFC

 
GeneralRe: How to retrieve the correct range message to update CStatusBar [modified] Pin
Vaclav_Sal24-Jan-13 4:39
memberVaclav_Sal24-Jan-13 4:39 
GeneralRe: How to retrieve the correct range message to update CStatusBar Pin
Iain Clarke, Warrior Programmer24-Jan-13 23:08
memberIain Clarke, Warrior Programmer24-Jan-13 23:08 
QuestionHow to process the task bar mouse click event? Pin
yu-jian22-Jan-13 3:50
groupyu-jian22-Jan-13 3:50 
AnswerRe: How to process the task bar mouse click event? Pin
«_Superman_»22-Jan-13 18:44
member«_Superman_»22-Jan-13 18:44 
GeneralRe: How to process the task bar mouse click event? Pin
yu-jian23-Jan-13 2:11
groupyu-jian23-Jan-13 2:11 
Questionhow can draw a panel ? Pin
VCProgrammer22-Jan-13 0:33
groupVCProgrammer22-Jan-13 0:33 
AnswerRe: how can draw a panel ? Pin
Richard MacCutchan22-Jan-13 3:07
mvpRichard MacCutchan22-Jan-13 3:07 
GeneralRe: how can draw a panel ? Pin
VCProgrammer22-Jan-13 17:35
groupVCProgrammer22-Jan-13 17:35 
GeneralRe: how can draw a panel ? Pin
Richard MacCutchan22-Jan-13 21:52
mvpRichard MacCutchan22-Jan-13 21:52 
GeneralRe: how can draw a panel ? Pin
VCProgrammer22-Jan-13 23:32
groupVCProgrammer22-Jan-13 23:32 
GeneralRe: how can draw a panel ? Pin
Richard MacCutchan23-Jan-13 1:00
mvpRichard MacCutchan23-Jan-13 1:00 
Questionc++ implementation of a linked list. Pin
neo2922-Jan-13 0:31
memberneo2922-Jan-13 0:31 
AnswerRe: c++ implementation of a linked list. Pin
Maximilien22-Jan-13 1:35
memberMaximilien22-Jan-13 1:35 
AnswerRe: c++ implementation of a linked list. Pin
Sivaraman Dhamodharan22-Jan-13 2:42
memberSivaraman Dhamodharan22-Jan-13 2:42 
void main()
{
  Node* head;
        head.addNode(10);
}

Create the object in the heap first. You just declared a variable stating "I will hold address of Node object in a variable head". But, where does that object? When there is no object head-> will not work. Head.addNode() also wont work as the object is not in stack.

Correction:
void main()
{
  Node* head = new Node();
        head->addNode(10);
}
Object will be created in heap.

or

void main()
{
  Node head;
  head.addNode(10);
}
Object will allocated on stack

QuestionHaving problem with catching WM_LBUTTONUP message in CScrollBar Pin
Bee cute21-Jan-13 23:52
memberBee cute21-Jan-13 23:52 
AnswerRe: Having problem with catching WM_LBUTTONUP message in CScrollBar Pin
Richard MacCutchan21-Jan-13 23:57
mvpRichard MacCutchan21-Jan-13 23:57 
GeneralRe: Having problem with catching WM_LBUTTONUP message in CScrollBar Pin
Bee cute22-Jan-13 14:36
memberBee cute22-Jan-13 14:36 
GeneralRe: Having problem with catching WM_LBUTTONUP message in CScrollBar Pin
Flaviu222-Jan-13 20:55
memberFlaviu222-Jan-13 20:55 
GeneralRe: Having problem with catching WM_LBUTTONUP message in CScrollBar Pin
Bee cute23-Jan-13 15:57
memberBee cute23-Jan-13 15:57 
GeneralRe: Having problem with catching WM_LBUTTONUP message in CScrollBar Pin
Flaviu223-Jan-13 20:32
memberFlaviu223-Jan-13 20:32 
GeneralRe: Having problem with catching WM_LBUTTONUP message in CScrollBar Pin
Bee cute23-Jan-13 23:13
memberBee cute23-Jan-13 23:13 
GeneralRe: Having problem with catching WM_LBUTTONUP message in CScrollBar Pin
Richard MacCutchan22-Jan-13 21:50
mvpRichard MacCutchan22-Jan-13 21:50 
GeneralRe: Having problem with catching WM_LBUTTONUP message in CScrollBar Pin
Bee cute23-Jan-13 16:00
memberBee cute23-Jan-13 16:00 
GeneralRe: Having problem with catching WM_LBUTTONUP message in CScrollBar Pin
Richard MacCutchan23-Jan-13 22:49
mvpRichard MacCutchan23-Jan-13 22:49 
GeneralRe: Having problem with catching WM_LBUTTONUP message in CScrollBar Pin
Bee cute23-Jan-13 23:16
memberBee cute23-Jan-13 23:16 
GeneralRe: Having problem with catching WM_LBUTTONUP message in CScrollBar Pin
Richard MacCutchan23-Jan-13 23:43
mvpRichard MacCutchan23-Jan-13 23:43 
GeneralRe: Having problem with catching WM_LBUTTONUP message in CScrollBar Pin
Flaviu224-Jan-13 21:01
memberFlaviu224-Jan-13 21:01 
QuestionHow to Restart My Mfc Application Pin
haha_c21-Jan-13 20:51
memberhaha_c21-Jan-13 20:51 
QuestionRe: How to Restart My Mfc Application Pin
CPallini21-Jan-13 22:07
mvpCPallini21-Jan-13 22:07 
AnswerRe: How to Restart My Mfc Application Pin
Andrew Cherednik22-Jan-13 16:47
memberAndrew Cherednik22-Jan-13 16:47 
AnswerRe: How to Restart My Mfc Application Pin
Marius Bancila22-Jan-13 21:03
memberMarius Bancila22-Jan-13 21:03 
Question(Wininet)How To Send Post Data In Content-Type: multipart/form-data; boundary=---------------------------1f0727f42ab069 Pin
81569011221-Jan-13 13:17
member81569011221-Jan-13 13:17 
AnswerRe: (Wininet)How To Send Post Data In Content-Type: multipart/form-data; boundary=---------------------------1f0727f42ab069 Pin
pasztorpisti21-Jan-13 13:36
memberpasztorpisti21-Jan-13 13:36 
QuestionWait for a WMI method to return Pin
Varun Pandey21-Jan-13 0:27
memberVarun Pandey21-Jan-13 0:27 
QuestionHow to clean registry of MFC Pin
haha_c20-Jan-13 22:26
memberhaha_c20-Jan-13 22:26 
AnswerRe: How to clean registry of MFC Pin
Richard MacCutchan20-Jan-13 23:05
mvpRichard MacCutchan20-Jan-13 23:05 
QuestionRe: How to clean registry of MFC Pin
DavidCrow21-Jan-13 4:01
memberDavidCrow21-Jan-13 4:01 
AnswerRe: How to clean registry of MFC Pin
haha_c21-Jan-13 14:08
memberhaha_c21-Jan-13 14:08 
AnswerRe: How to clean registry of MFC Pin
haha_c21-Jan-13 14:14
memberhaha_c21-Jan-13 14:14 
SuggestionRe: How to clean registry of MFC Pin
DavidCrow22-Jan-13 3:06
memberDavidCrow22-Jan-13 3:06 
QuestionInability to edit .rc files Pin
Anthony Appleyard20-Jan-13 19:01
memberAnthony Appleyard20-Jan-13 19:01 
AnswerRe: Inability to edit .rc files Pin
«_Superman_»20-Jan-13 19:44
member«_Superman_»20-Jan-13 19:44 
GeneralRe: Inability to edit .rc files Pin
Anthony Appleyard20-Jan-13 21:51
memberAnthony Appleyard20-Jan-13 21:51 
GeneralRe: Inability to edit .rc files Pin
«_Superman_»20-Jan-13 22:04
member«_Superman_»20-Jan-13 22:04 
AnswerRe: Inability to edit .rc files Pin
Richard MacCutchan20-Jan-13 22:11
mvpRichard MacCutchan20-Jan-13 22:11 
AnswerRe: Inability to edit .rc files Pin
CPallini20-Jan-13 22:34
mvpCPallini20-Jan-13 22:34 
GeneralRe: Inability to edit .rc files Pin
Anthony Appleyard20-Jan-13 22:51
memberAnthony Appleyard20-Jan-13 22:51 
GeneralRe: Inability to edit .rc files Pin
CPallini20-Jan-13 23:04
mvpCPallini20-Jan-13 23:04 
GeneralRe: Inability to edit .rc files Pin
Anthony Appleyard21-Jan-13 0:00
memberAnthony Appleyard21-Jan-13 0:00 
GeneralRe: Inability to edit .rc files Pin
Richard MacCutchan21-Jan-13 0:06
mvpRichard MacCutchan21-Jan-13 0:06 

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

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


Advertise | Privacy | Mobile
Web04 | 2.8.150520.1 | Last Updated 3 Jun 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid