Click here to Skip to main content
15,902,114 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCurrent username? Pin
M.u.m.b.a25-Oct-03 8:32
M.u.m.b.a25-Oct-03 8:32 
AnswerRe: Current username? Pin
Alexander M.,25-Oct-03 11:44
Alexander M.,25-Oct-03 11:44 
AnswerRe: Current username? Pin
Blake Coverett25-Oct-03 19:19
Blake Coverett25-Oct-03 19:19 
Generalthis is so weird - try it and see Pin
Oinka25-Oct-03 8:06
Oinka25-Oct-03 8:06 
GeneralRe: this is so weird - try it and see Pin
Michael P Butler25-Oct-03 9:05
Michael P Butler25-Oct-03 9:05 
GeneralHey thanks that worked - but I'm still confused Pin
Oinka25-Oct-03 9:14
Oinka25-Oct-03 9:14 
GeneralRe: Hey thanks that worked - but I'm still confused Pin
Michael P Butler25-Oct-03 9:33
Michael P Butler25-Oct-03 9:33 
GeneralC++ Data Structures (3rd), Chapter 3, Exercise 8 a+b, pg 171 Pin
aLiSoN374225-Oct-03 7:58
sussaLiSoN374225-Oct-03 7:58 
I would really like to find a teacher's version of this book, or an answer guide someplace! Thank you! Alison
------------------------------------
Here's the question: A List ADT is to be extended by the addition of the function SplitLists, which has the following specifications where ListType is either the class UnsortedType or the class SortedType:

SplitLists(ListType list, ItemType iten, ListType& list1, ListType& list2)
----------------------------
Function - Divides list into two lists according to the key of item.
Pre - list has been initialized and is not empty.
Post - list1 contains all the items of list whose keys are less than or equal to item's key. list2 contains all the items of list whose keys are greater than item's key.
----------------------------
a. Implement SplitLists as a member function of the Unsorted List ADT.
b. Implement SplitLists as a member function of the Sorted List ADT.

Also, write a driver program to test your implementation. The driver program should use an Itemtype which contains a single integer value and split the list of numbers (2, 5, 8, 9, 12, 15, 23, 45) on the number 14.
----------------------------
Some direction would really be appreciated. Thanks!
GeneralRe: C++ Data Structures (3rd), Chapter 3, Exercise 8 a+b, pg 171 Pin
Oinka25-Oct-03 8:56
Oinka25-Oct-03 8:56 
GeneralC++ Data Structures (3rd), Chapter 4, Exercise 14, p 267 Pin
aLiSoN374225-Oct-03 7:56
sussaLiSoN374225-Oct-03 7:56 
GeneralRe: C++ Data Structures (3rd), Chapter 4, Exercise 14, p 267 Pin
joshfl25-Oct-03 8:45
joshfl25-Oct-03 8:45 
GeneralRe: C++ Data Structures (3rd), Chapter 4, Exercise 14, p 267 Pin
Oinka25-Oct-03 10:21
Oinka25-Oct-03 10:21 
GeneralRe: C++ Data Structures (3rd), Chapter 4, Exercise 14, p 267 Pin
Terry O'Nolley25-Oct-03 14:34
Terry O'Nolley25-Oct-03 14:34 
GeneralRe: C++ Data Structures (3rd), Chapter 4, Exercise 14, p 267 Pin
Jörgen Sigvardsson26-Oct-03 5:45
Jörgen Sigvardsson26-Oct-03 5:45 
GeneralPlotting Graphs Pin
emrosa25-Oct-03 7:30
emrosa25-Oct-03 7:30 
GeneralRe: Plotting Graphs Pin
Oinka25-Oct-03 10:11
Oinka25-Oct-03 10:11 
GeneralNeed help developing algorithm Pin
Steven M Hunt25-Oct-03 5:54
Steven M Hunt25-Oct-03 5:54 
GeneralRe: Need help developing algorithm Pin
CillyMe25-Oct-03 8:05
CillyMe25-Oct-03 8:05 
GeneralRe: Need help developing algorithm Pin
Steven M Hunt25-Oct-03 8:24
Steven M Hunt25-Oct-03 8:24 
GeneralRe: Need help developing algorithm Pin
Oinka25-Oct-03 8:49
Oinka25-Oct-03 8:49 
GeneralRe: Need help developing algorithm Pin
Ravi Bhavnani25-Oct-03 9:02
professionalRavi Bhavnani25-Oct-03 9:02 
GeneralDial-up server in windows 98 Pin
choupani25-Oct-03 4:14
choupani25-Oct-03 4:14 
GeneralProblem with extern in C++(Very urgent) Pin
Azghar Hussain25-Oct-03 3:35
professionalAzghar Hussain25-Oct-03 3:35 
GeneralRe: Problem with extern in C++(Very urgent) Pin
Ravi Bhavnani25-Oct-03 4:18
professionalRavi Bhavnani25-Oct-03 4:18 
GeneralRe: Problem with extern in C++(Very urgent) Pin
Azghar Hussain25-Oct-03 5:13
professionalAzghar Hussain25-Oct-03 5: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.