Click here to Skip to main content
       

C / C++ / MFC

 
GeneralRe: How to retrieve the correct range message to update CStatusBar PinmemberVaclav_Sal23-Jan-13 6:01 
AnswerRe: How to retrieve the correct range message to update CStatusBar PinmemberIain Clarke, Warrior Programmer23-Jan-13 20:55 
GeneralRe: How to retrieve the correct range message to update CStatusBar [modified] PinmemberVaclav_Sal24-Jan-13 4:39 
GeneralRe: How to retrieve the correct range message to update CStatusBar PinmemberIain Clarke, Warrior Programmer24-Jan-13 23:08 
QuestionHow to process the task bar mouse click event? Pingroupyu-jian22-Jan-13 3:50 
AnswerRe: How to process the task bar mouse click event? Pinmember«_Superman_»22-Jan-13 18:44 
GeneralRe: How to process the task bar mouse click event? Pingroupyu-jian23-Jan-13 2:11 
Questionhow can draw a panel ? PingroupVCProgrammer22-Jan-13 0:33 
AnswerRe: how can draw a panel ? PinmvpRichard MacCutchan22-Jan-13 3:07 
GeneralRe: how can draw a panel ? PingroupVCProgrammer22-Jan-13 17:35 
GeneralRe: how can draw a panel ? PinmvpRichard MacCutchan22-Jan-13 21:52 
GeneralRe: how can draw a panel ? PingroupVCProgrammer22-Jan-13 23:32 
GeneralRe: how can draw a panel ? PinmvpRichard MacCutchan23-Jan-13 1:00 
Questionc++ implementation of a linked list. Pinmemberneo2922-Jan-13 0:31 
Pardon me!! I am new here. I am unable to use addNode function. When i declare Node* it doesnt compile.
I am trying to implement a linked list in c++ without
using structures and only use pure classes.I am rusty here. Any help would be great.
head->addNode() and head.addNode() doesnt work.
 
#include<iostream>
#include<cstdlib>
using namespace std;
class Node
{
  int   data;
  Node* next;
public:
  Node()
 {
   data=0;
   next=NULL;
 }
 void addNode(int a)
{
   if(this!=NULL)
   {
     data=a;
     next=NULL;
   }
}
};
void main()
{
  Node* head;
        head.addNode(10);
}

AnswerRe: c++ implementation of a linked list. PinmemberMaximilien22-Jan-13 1:35 
AnswerRe: c++ implementation of a linked list. PinmemberSivaraman Dhamodharan22-Jan-13 2:42 
QuestionHaving problem with catching WM_LBUTTONUP message in CScrollBar PinmemberBee cute21-Jan-13 23:52 
AnswerRe: Having problem with catching WM_LBUTTONUP message in CScrollBar PinmvpRichard MacCutchan21-Jan-13 23:57 
GeneralRe: Having problem with catching WM_LBUTTONUP message in CScrollBar PinmemberBee cute22-Jan-13 14:36 
GeneralRe: Having problem with catching WM_LBUTTONUP message in CScrollBar PinmemberFlaviu222-Jan-13 20:55 
GeneralRe: Having problem with catching WM_LBUTTONUP message in CScrollBar PinmemberBee cute23-Jan-13 15:57 
GeneralRe: Having problem with catching WM_LBUTTONUP message in CScrollBar PinmemberFlaviu223-Jan-13 20:32 
GeneralRe: Having problem with catching WM_LBUTTONUP message in CScrollBar PinmemberBee cute23-Jan-13 23:13 
GeneralRe: Having problem with catching WM_LBUTTONUP message in CScrollBar PinmvpRichard MacCutchan22-Jan-13 21:50 
GeneralRe: Having problem with catching WM_LBUTTONUP message in CScrollBar PinmemberBee cute23-Jan-13 16:00 
GeneralRe: Having problem with catching WM_LBUTTONUP message in CScrollBar PinmvpRichard MacCutchan23-Jan-13 22:49 
GeneralRe: Having problem with catching WM_LBUTTONUP message in CScrollBar PinmemberBee cute23-Jan-13 23:16 
GeneralRe: Having problem with catching WM_LBUTTONUP message in CScrollBar PinmvpRichard MacCutchan23-Jan-13 23:43 
GeneralRe: Having problem with catching WM_LBUTTONUP message in CScrollBar PinmemberFlaviu224-Jan-13 21:01 
QuestionHow to Restart My Mfc Application Pinmemberhaha_c21-Jan-13 20:51 
QuestionRe: How to Restart My Mfc Application PinmvpCPallini21-Jan-13 22:07 
AnswerRe: How to Restart My Mfc Application PinmemberAndrew Cherednik22-Jan-13 16:47 
AnswerRe: How to Restart My Mfc Application PinmemberMarius Bancila22-Jan-13 21:03 
Question(Wininet)How To Send Post Data In Content-Type: multipart/form-data; boundary=---------------------------1f0727f42ab069 Pinmember81569011221-Jan-13 13:17 
AnswerRe: (Wininet)How To Send Post Data In Content-Type: multipart/form-data; boundary=---------------------------1f0727f42ab069 Pinmemberpasztorpisti21-Jan-13 13:36 
QuestionWait for a WMI method to return PinmemberVarun Pandey21-Jan-13 0:27 
QuestionHow to clean registry of MFC Pinmemberhaha_c20-Jan-13 22:26 
AnswerRe: How to clean registry of MFC PinmvpRichard MacCutchan20-Jan-13 23:05 
QuestionRe: How to clean registry of MFC PinmemberDavidCrow21-Jan-13 4:01 
AnswerRe: How to clean registry of MFC Pinmemberhaha_c21-Jan-13 14:08 
AnswerRe: How to clean registry of MFC Pinmemberhaha_c21-Jan-13 14:14 
SuggestionRe: How to clean registry of MFC PinmemberDavidCrow22-Jan-13 3:06 
QuestionInability to edit .rc files PinmemberAnthony Appleyard20-Jan-13 19:01 
AnswerRe: Inability to edit .rc files Pinmember«_Superman_»20-Jan-13 19:44 
GeneralRe: Inability to edit .rc files PinmemberAnthony Appleyard20-Jan-13 21:51 
GeneralRe: Inability to edit .rc files Pinmember«_Superman_»20-Jan-13 22:04 
AnswerRe: Inability to edit .rc files PinmvpRichard MacCutchan20-Jan-13 22:11 
AnswerRe: Inability to edit .rc files PinmvpCPallini20-Jan-13 22:34 
GeneralRe: Inability to edit .rc files PinmemberAnthony Appleyard20-Jan-13 22:51 
GeneralRe: Inability to edit .rc files PinmvpCPallini20-Jan-13 23:04 

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
Web03 | 2.8.140421.2 | Last Updated 24 Apr 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid