Click here to Skip to main content
       

C / C++ / MFC

 
Hint: For improved responsiveness ensure Javascript is enabled and choose 'Normal' from the Layout dropdown and hit 'Update'.
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page  Show 
Questionhow can draw a panel ?groupVCProgrammer22 Jan '13 - 0:33 
AnswerRe: how can draw a panel ?mvpRichard MacCutchan22 Jan '13 - 3:07 
GeneralRe: how can draw a panel ?groupVCProgrammer22 Jan '13 - 17:35 
GeneralRe: how can draw a panel ?mvpRichard MacCutchan22 Jan '13 - 21:52 
GeneralRe: how can draw a panel ?groupVCProgrammer22 Jan '13 - 23:32 
GeneralRe: how can draw a panel ?mvpRichard MacCutchan23 Jan '13 - 1:00 
Questionc++ implementation of a linked list.memberneo2922 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.memberMaximilien22 Jan '13 - 1:35 
AnswerRe: c++ implementation of a linked list.memberSivaraman Dhamodharan22 Jan '13 - 2:42 
QuestionHaving problem with catching WM_LBUTTONUP message in CScrollBarmemberBee cute21 Jan '13 - 23:52 
AnswerRe: Having problem with catching WM_LBUTTONUP message in CScrollBarmvpRichard MacCutchan21 Jan '13 - 23:57 
GeneralRe: Having problem with catching WM_LBUTTONUP message in CScrollBarmemberBee cute22 Jan '13 - 14:36 
GeneralRe: Having problem with catching WM_LBUTTONUP message in CScrollBarmemberFlaviu222 Jan '13 - 20:55 
GeneralRe: Having problem with catching WM_LBUTTONUP message in CScrollBarmemberBee cute23 Jan '13 - 15:57 
GeneralRe: Having problem with catching WM_LBUTTONUP message in CScrollBarmemberFlaviu223 Jan '13 - 20:32 
GeneralRe: Having problem with catching WM_LBUTTONUP message in CScrollBarmemberBee cute23 Jan '13 - 23:13 
GeneralRe: Having problem with catching WM_LBUTTONUP message in CScrollBarmvpRichard MacCutchan22 Jan '13 - 21:50 
GeneralRe: Having problem with catching WM_LBUTTONUP message in CScrollBarmemberBee cute23 Jan '13 - 16:00 
GeneralRe: Having problem with catching WM_LBUTTONUP message in CScrollBarmvpRichard MacCutchan23 Jan '13 - 22:49 
GeneralRe: Having problem with catching WM_LBUTTONUP message in CScrollBarmemberBee cute23 Jan '13 - 23:16 
GeneralRe: Having problem with catching WM_LBUTTONUP message in CScrollBarmvpRichard MacCutchan23 Jan '13 - 23:43 
GeneralRe: Having problem with catching WM_LBUTTONUP message in CScrollBarmemberFlaviu224 Jan '13 - 21:01 
QuestionHow to Restart My Mfc Applicationmemberhaha_c21 Jan '13 - 20:51 
QuestionRe: How to Restart My Mfc ApplicationmvpCPallini21 Jan '13 - 22:07 
AnswerRe: How to Restart My Mfc ApplicationmemberAndrew Cherednik22 Jan '13 - 16:47 

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


Advertise | Privacy | Mobile
Web02 | 2.6.130516.1 | Last Updated 18 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid