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 7:01 
AnswerRe: How to retrieve the correct range message to update CStatusBar PinmemberIain Clarke, Warrior Programmer23-Jan-13 21:55 
GeneralRe: How to retrieve the correct range message to update CStatusBar [modified] PinmemberVaclav_Sal24-Jan-13 5:39 
GeneralRe: How to retrieve the correct range message to update CStatusBar PinmemberIain Clarke, Warrior Programmer25-Jan-13 0:08 
QuestionHow to process the task bar mouse click event? Pingroupyu-jian22-Jan-13 4:50 
AnswerRe: How to process the task bar mouse click event? Pinmember«_Superman_»22-Jan-13 19:44 
GeneralRe: How to process the task bar mouse click event? Pingroupyu-jian23-Jan-13 3:11 
Questionhow can draw a panel ? PingroupVCProgrammer22-Jan-13 1:33 
AnswerRe: how can draw a panel ? PinmvpRichard MacCutchan22-Jan-13 4:07 
GeneralRe: how can draw a panel ? PingroupVCProgrammer22-Jan-13 18:35 
GeneralRe: how can draw a panel ? PinmvpRichard MacCutchan22-Jan-13 22:52 
GeneralRe: how can draw a panel ? PingroupVCProgrammer23-Jan-13 0:32 
GeneralRe: how can draw a panel ? PinmvpRichard MacCutchan23-Jan-13 2:00 
Questionc++ implementation of a linked list. Pinmemberneo2922-Jan-13 1: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 2:35 
AnswerRe: c++ implementation of a linked list. PinmemberSivaraman Dhamodharan22-Jan-13 3:42 
QuestionHaving problem with catching WM_LBUTTONUP message in CScrollBar PinmemberBee cute22-Jan-13 0:52 
AnswerRe: Having problem with catching WM_LBUTTONUP message in CScrollBar PinmvpRichard MacCutchan22-Jan-13 0:57 
GeneralRe: Having problem with catching WM_LBUTTONUP message in CScrollBar PinmemberBee cute22-Jan-13 15:36 
GeneralRe: Having problem with catching WM_LBUTTONUP message in CScrollBar PinmemberFlaviu222-Jan-13 21:55 
GeneralRe: Having problem with catching WM_LBUTTONUP message in CScrollBar PinmemberBee cute23-Jan-13 16:57 
GeneralRe: Having problem with catching WM_LBUTTONUP message in CScrollBar PinmemberFlaviu223-Jan-13 21:32 
GeneralRe: Having problem with catching WM_LBUTTONUP message in CScrollBar PinmemberBee cute24-Jan-13 0:13 
GeneralRe: Having problem with catching WM_LBUTTONUP message in CScrollBar PinmvpRichard MacCutchan22-Jan-13 22:50 
GeneralRe: Having problem with catching WM_LBUTTONUP message in CScrollBar PinmemberBee cute23-Jan-13 17:00 
GeneralRe: Having problem with catching WM_LBUTTONUP message in CScrollBar PinmvpRichard MacCutchan23-Jan-13 23:49 
GeneralRe: Having problem with catching WM_LBUTTONUP message in CScrollBar PinmemberBee cute24-Jan-13 0:16 
GeneralRe: Having problem with catching WM_LBUTTONUP message in CScrollBar PinmvpRichard MacCutchan24-Jan-13 0:43 
GeneralRe: Having problem with catching WM_LBUTTONUP message in CScrollBar PinmemberFlaviu224-Jan-13 22:01 
QuestionHow to Restart My Mfc Application Pinmemberhaha_c21-Jan-13 21:51 
QuestionRe: How to Restart My Mfc Application PinmvpCPallini21-Jan-13 23:07 
AnswerRe: How to Restart My Mfc Application PinmemberAndrew Cherednik22-Jan-13 17:47 
AnswerRe: How to Restart My Mfc Application PinmemberMarius Bancila22-Jan-13 22:03 
Question(Wininet)How To Send Post Data In Content-Type: multipart/form-data; boundary=---------------------------1f0727f42ab069 Pinmember81569011221-Jan-13 14:17 
AnswerRe: (Wininet)How To Send Post Data In Content-Type: multipart/form-data; boundary=---------------------------1f0727f42ab069 Pinmemberpasztorpisti21-Jan-13 14:36 
QuestionWait for a WMI method to return PinmemberVarun Pandey21-Jan-13 1:27 
QuestionHow to clean registry of MFC Pinmemberhaha_c20-Jan-13 23:26 
AnswerRe: How to clean registry of MFC PinmvpRichard MacCutchan21-Jan-13 0:05 
QuestionRe: How to clean registry of MFC PinmemberDavidCrow21-Jan-13 5:01 
AnswerRe: How to clean registry of MFC Pinmemberhaha_c21-Jan-13 15:08 
AnswerRe: How to clean registry of MFC Pinmemberhaha_c21-Jan-13 15:14 
SuggestionRe: How to clean registry of MFC PinmemberDavidCrow22-Jan-13 4:06 
QuestionInability to edit .rc files PinmemberAnthony Appleyard20-Jan-13 20:01 
AnswerRe: Inability to edit .rc files Pinmember«_Superman_»20-Jan-13 20:44 
GeneralRe: Inability to edit .rc files PinmemberAnthony Appleyard20-Jan-13 22:51 
GeneralRe: Inability to edit .rc files Pinmember«_Superman_»20-Jan-13 23:04 
AnswerRe: Inability to edit .rc files PinmvpRichard MacCutchan20-Jan-13 23:11 
AnswerRe: Inability to edit .rc files PinmvpCPallini20-Jan-13 23:34 
GeneralRe: Inability to edit .rc files PinmemberAnthony Appleyard20-Jan-13 23:51 
GeneralRe: Inability to edit .rc files PinmvpCPallini21-Jan-13 0: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
Web04 | 2.8.150128.1 | Last Updated 29 Jan 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid