Click here to Skip to main content
15,911,711 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How can i get text from CRichEditCtrl Pin
Code-o-mat6-Dec-08 4:53
Code-o-mat6-Dec-08 4:53 
GeneralRe: How can i get text from CRichEditCtrl Pin
york52810-Dec-08 17:57
york52810-Dec-08 17:57 
QuestionHow to write(or create) subkey under a key which only by modified by the Admin? Pin
kcynic5-Dec-08 18:55
kcynic5-Dec-08 18:55 
AnswerRe: How to write(or create) subkey under a key which only by modified by the Admin? Pin
Randor 5-Dec-08 20:36
professional Randor 5-Dec-08 20:36 
GeneralRe: How to write(or create) subkey under a key which only by modified by the Admin? Pin
kcynic5-Dec-08 20:48
kcynic5-Dec-08 20:48 
GeneralRe: How to write(or create) subkey under a key which only by modified by the Admin? Pin
Randor 5-Dec-08 21:28
professional Randor 5-Dec-08 21:28 
GeneralRe: How to write(or create) subkey under a key which only by modified by the Admin? Pin
kcynic5-Dec-08 21:31
kcynic5-Dec-08 21:31 
GeneralRe: How to write(or create) subkey under a key which only by modified by the Admin? Pin
kcynic6-Dec-08 2:57
kcynic6-Dec-08 2:57 
GeneralRe: How to write(or create) subkey under a key which only by modified by the Admin? Pin
Randor 6-Dec-08 9:15
professional Randor 6-Dec-08 9:15 
GeneralRe: How to write(or create) subkey under a key which only by modified by the Admin? Pin
kcynic6-Dec-08 14:56
kcynic6-Dec-08 14:56 
GeneralRe: How to write(or create) subkey under a key which only by modified by the Admin? Pin
Randor 6-Dec-08 15:30
professional Randor 6-Dec-08 15:30 
GeneralRe: How to write(or create) subkey under a key which only by modified by the Admin? Pin
kcynic6-Dec-08 16:29
kcynic6-Dec-08 16:29 
Questionworker thread problem.......... Pin
shaina22315-Dec-08 18:26
shaina22315-Dec-08 18:26 
AnswerRe: worker thread problem.......... Pin
Randor 5-Dec-08 20:24
professional Randor 5-Dec-08 20:24 
AnswerRe: worker thread problem.......... Pin
David Crow6-Dec-08 12:38
David Crow6-Dec-08 12:38 
Questiondeleting a file from the application Pin
prithaa5-Dec-08 18:26
prithaa5-Dec-08 18:26 
AnswerRe: deleting a file from the application Pin
kcynic5-Dec-08 19:06
kcynic5-Dec-08 19:06 
AnswerRe: deleting a file from the application Pin
Hamid_RT5-Dec-08 19:34
Hamid_RT5-Dec-08 19:34 
AnswerRe: deleting a file from the application Pin
Jijo.Raj5-Dec-08 23:49
Jijo.Raj5-Dec-08 23:49 
QuestionHelp with a Linked List Program Pin
LilKoopa5-Dec-08 14:21
LilKoopa5-Dec-08 14:21 
I need help with a linked list program, im probably just not doing something write but if any info is available i would greatly appreicate it, here is my code. its suppossed to append a node, insert a node, and delete a node. The output should look like this. Thanks for all help i can get

Here are the initial values:
5 feet, 4 inches
6 feet, 8 inches
8 feet, 9 inches

Now inserting the value 7 feel 2 inches.
Here are the nodes now.
5 feet, 4 inches
6 feet, 8 inches
7 feet, 2 inches
8 feet, 9 inches

Now deleting the last node.
Here are the nodes left.
5 feet, 4 inches
6 feet, 8 inches
7 feet, 2inches







// This program demonstrates the linked list template.
#include "stdafx.h"
#include <iostream>
#include "LinkedList.h"
#include "FeetInches.h"
using namespace std;

int main()
{
// Define a LinkedList object.
LinkedList<feetinches> list;

// Define some FeetInches objects.
FeetInches distance1(5, 4); // 5 feet 4 inches
FeetInches distance2(6, 8); // 6 feet 8 inches
FeetInches distance3(8, 9); // 8 feet 9 inches



// Store the FeetInches objects in the list.
list.appendNode(distance1); // 5 feet 4 inches
list.appendNode(distance2); // 6 feet 8 inches
list.appendNode(distance3); // 8 feet 9 inches



// Display the values in the list.
cout << "Here are the initial values:\n";
list.displayList();
cout << endl;

// Insert another FeetInches object.
cout << "Now inserting the value 7 feet 2 inches.\n";
list.insertNode(distance4); // 7 feet 2 inches
FeetInches distance4(7, 2);


// Display the values in the list.
cout << "Here are the nodes now.\n";
list.displayList();
cout << endl;

// Delete the last node.
cout << "Now deleting the last node.\n";
list.deleteNode(distance4);

// Display the values in the list.
cout << "Here are the nodes left.\n";
list.displayList();
return 0;
}


AnswerRe: Help with a Linked List Program Pin
Robert.C.Cartaino6-Dec-08 5:21
Robert.C.Cartaino6-Dec-08 5:21 
GeneralRe: Help with a Linked List Program Pin
LilKoopa6-Dec-08 11:15
LilKoopa6-Dec-08 11:15 
GeneralRe: Help with a Linked List Program Pin
Randor 6-Dec-08 12:08
professional Randor 6-Dec-08 12:08 
QuestionRe: Help with a Linked List Program Pin
David Crow6-Dec-08 12:20
David Crow6-Dec-08 12:20 
AnswerRe: Help with a Linked List Program Pin
LilKoopa8-Dec-08 11:13
LilKoopa8-Dec-08 11:13 

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.